We have tried our best to avoid inaccuracies in the book. However, as with any project of this scope, some have crept in. Here are some errors we found post-publication.
No known errata.
p. 308: The following line of code is incorrect:
if (value.toString().length() < getMaxLength())
It should read:
if (value.toString().length() <= getMaxLength())
p. 430: Step 12’s additional information describes an attribute as
action "/=auditresults.do". The actual attribute is
p. 494: Step 10 says, “This cursor should be…” It should read “The cursor should be…”
p. 534: In step 7, delete one of the end curly brackets “}” at the end of the code block.
The constructor only requires one end curly bracket.
p.584: In the Tip at the bottom of the page, the last sentence
should be a step 5a. after the Tip:
“5a. Change the text property of the text pane and text field to
blank (no text) so that nothing appears inside the fields when
running the application.”
p. 616: The fourth line of the Additional information should read,
“Such labels are referenced via the <bean:message key=”xxx”/> tag.”
p. 621: In step 11, the first sentence in the Additional Information
paragraph should read: “The Departments application shown in
Figure 17-3 will now show the selected department in yellow on