Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page p253 last paragraph, second line |
"in the faces-config.xml class" should be "in the faces-config.xml |
Anonymous | ||
Printed | Page 7 Figure 1-2 caption |
"Figure 1-2. JThe..." should be "Figure 1-2. The..." (extraneous 'J') |
Anonymous | ||
Printed | Page 14 Figure 2-2 |
"UIintput" component should be "UIInput" |
Anonymous | ||
Printed | Page 18 Example 2-1 |
Second table row in sample code starts with <td> tag instead of <tr> tag: |
Anonymous | ||
Printed | Page 19 Figure 2-3 |
"<h:input_text ...>" should be "<h:inputText ...>" |
Anonymous | ||
Printed | Page 19 Figure 2-3, box labeled "faces-confix.xml" |
"manged-bean-name" should be "managed-bean-name" (two instances). |
Anonymous | ||
Printed | Page 19 4th paragraph, first line, right under Figure 2-3 |
"When the <h:textInput> element is processed, the corresponding UIInput compo-" |
Anonymous | ||
Printed | Page 32 3rd Paragraph |
HTTP = Hypertext Transfer Protocol, not Transport |
Anonymous | ||
Printed | Page 45 half way down page |
"...invoke your servlet when it recieves a request..." |
Anonymous | ||
Printed | Page 45 The URL pattern on page 45 should be |
<servlet-mapping> |
Anonymous | ||
Printed | Page 48 Filters and Listeners paragraph |
These compont types are also often... |
Anonymous | ||
Printed | Page 52 Bottom of page |
The footer.jsp source should be shown after Example 4-3 and Figure 4-9 should show it's output. |
Anonymous | ||
Printed | Page 57 Top paragraph |
(e.g., < and &) |
Anonymous | ||
Printed | Page 60 1st paragraph, line 5 |
The URL |
Anonymous | ||
Printed | Page 60 Top para |
The paragraph ends with |
Anonymous | ||
Printed | Page 60 3rd paragraph, line 5 |
In your JSP page, just to use a taglib... |
Anonymous | ||
Printed | Page 62 1st paragraph |
The first paragraph on page 62 should actually be removed; it |
Anonymous | ||
Printed | Page 62-63 Code at bottom of 62 and middle of 63 |
It says "Sorry, not products..." in both places. |
Anonymous | ||
Printed | Page 66 Paragraph following Figure 5-2. |
"different storage medias" should be "different storage media". |
Anonymous | ||
Printed | Page 70 Paragraph 2 and code sample |
Names of methods in text do not quite match code. |
Anonymous | ||
Printed | Page 73 bottom |
matches a search criteria. |
Anonymous | ||
Printed | Page 81 top of page |
This web.xml descriptor fragment is incorrect. |
Anonymous | ||
Printed | Page 94 example in page |
In the example, the "to:" input - |
Anonymous | ||
Printed | Page 98 6th paragraph; Second sentence says: |
First, the path starts with a /jspbook prefix. |
Anonymous | ||
Printed | Page 103 First complete paragraph |
The inline example of combining a bean property value with an EL operator is incorrect. |
Anonymous | ||
Printed | Page 107 last paragraph |
instead of "... so it consults the jsf-config.xml ..." |
Anonymous | ||
Printed | Page 109 end of 2nd dotted paragraph |
... the component loses its state when its removed from the view. |
Anonymous | ||
Printed | Page 109 Example code for Figure 6-6 |
The code that generates the "You're logged in as..." text and provides the links for |
Anonymous | ||
Printed | Page 110 bottom of code block |
The opening <h:outputLink> tags are incorrectly printed as empty tags. |
Anonymous | ||
Printed | Page 119 bottom of HTML markup |
The value binding for the commandButton |
Anonymous | ||
Printed | Page 119 Example 7-2. |
under the lines with both <f:convertDate... and <f:validateDoubleRange... |
Anonymous | ||
Printed | Page 120 Table 7-3 |
First paragraph under Description label: |
Anonymous | ||
Printed | Page 123 2nd paragraph, line 2 |
"a <f:selectItems> action" should read "an <f:selectItems> action." |
Anonymous | ||
Printed | Page 124 1st paragraph |
end of last sentence: |
Anonymous | ||
Printed | Page 125 Last paragraph, line 8 |
Variable expenseType should be expenseTypes |
Anonymous | ||
Printed | Page 126 Last paragraph, line 3 |
"application-specific message" should be "application-specific messages." |
Anonymous | ||
Printed | Page 127 Second paragraph, line 2 |
The phrase "actions shows" should be "actions show. |
Anonymous | ||
Printed | Page 129 Example 7-3 |
"detailedMsgPattern" NOW READS "detailMsgPattern" in this statement: |
Anonymous | Aug 01, 2004 | |
Printed | Page 130 Last paragraph, line 2 |
this should be rephrasedlike this: |
Anonymous | ||
Printed | Page 131 3rd paragraph, line 6 |
not_later should be not_later_detail. |
Anonymous | ||
Printed | Page 133 First paragraph in Using a Custom Validator in a JSP Page, |
second line |
Anonymous | ||
Printed | Page 134 Third paragraph in Developing a Validator Custom Action, |
fifth line: |
Anonymous | ||
Printed | Page 135 4th paragraph, line 4 |
"an JSP" should read "a JSP." |
Anonymous | ||
Printed | Page 135 Sixth paragraph, first line |
"<my:validate_later>" should be "<my:validateLater>" |
Anonymous | ||
Printed | Page 137 first example |
<f:validator validatorId=" com.mycompany.jsf.validator.LATER_THAN" /> |
Anonymous | ||
Printed | Page 146 Example 8.3 |
import javax.faces.application.Message; |
Anonymous | Aug 01, 2004 | |
Printed | Page 154 Third paragraph, second line |
"includeExtensions" should be "includeSpecial" |
Anonymous | ||
Printed | Page 165 last paragraph, 3rd line |
...example, and in links to a... |
Anonymous | ||
Printed | Page 168 line 15 in the code snippet |
"context" is used as both the assigned variable name and the first |
Anonymous | ||
Printed | Page 168 Example code |
There are a few typos in the example. It should look like this: |
Anonymous | ||
Printed | Page 175 Last paragraph |
reportModel should be reportsModel |
Anonymous | ||
Printed | Page 177 2nd snippet |
In the book it shows |
Anonymous | ||
Printed | Page 199 1st line (1st paragraph) |
a file named lables_en_US.properties ... |
Anonymous | ||
Printed | Page 200 Example 11-2 |
"datestyle" should be "dateStyle" |
Anonymous | ||
Printed | Page 201 Second paragraph |
"datestyle" should be "dateStyle" |
Anonymous | ||
Printed | Page 208 Example 11-4 <title> tag content |
To go along with what is displayed in Figure 11-4, the <title> tag content should be changed FROM: |
Anonymous | ||
Printed | Page 211 first paragraph, first line |
"The JSP page in Example 4-1 contains ..." should be "The JSP page in |
Anonymous | ||
Printed | Page 221 third paragraph, seventh line |
"For an <h:inputComponent> with ..." should be "For an <h:inputText> |
Anonymous | ||
Printed | Page 226 sixth paragraph, second line |
"http://www.Jakarta.apache.org/struts/" should be |
Anonymous | ||
Printed | Page 229 Text and code sample of Example 12-10 |
Names of class in text does not match sample for struts version. |
Anonymous | ||
Printed | Page 235 first paragraph, ninth line |
"and requires that the JSP component actions ..." should be "and |
Anonymous | ||
Printed | Page 240 The code at the top of the page shows |
<faces-config> |
Anonymous | ||
Printed | Page 245 second paragraph, second line |
"The addLeafNode() method loops ..." should be "The addLeafNodes() |
Anonymous | ||
Printed | Page 251 second paragraph, fourth line |
"because the JSP component actions are ..." should be "because the |
Anonymous | ||
Printed | Page 251 Code Example (continued) |
int first = data.getFirst(); |
Anonymous | ||
Printed | Page 260 last paragraph, last line |
"The Page class is an inner class" should be "The Page class is a |
Anonymous | ||
Printed | Page 276 second paragraph, starting with "All in all, ..." |
This paragraph should be replaced with: |
Anonymous | ||
Printed | Page 279 second paragraph, third line |
"the currently selected tag has ..." should be "the currently selected |
Anonymous | ||
Printed | Page 308 ninth statement in the code snippet |
grid.getAttributes().put("columns", "2"); |
Anonymous | ||
Printed | Page 314 renderResponse code sample |
else { |
Anonymous | ||
Printed | Page 318 last paragraph, second line |
"defined by the combination of a view specification class and ..." |
Anonymous | ||
Printed | Page 334, 335 <h:commandButton> and <h:commandLink> Attributes tables |
For both these actions, the Description column for the "action" |
Anonymous | ||
Printed | Page 348 - 352 <h:outputFormat>, <h:outputLabel>, <h:outputLink>, |
<h:outptText> Attributes tables |
Anonymous | ||
Printed | Page 428 SelectItemGroup constructors |
The names for the last two constructors should be SelectItemGroup |
Anonymous | ||
Printed | Page 430 Second paragraph |
"a component with the rendered property set to true isn't rendered" |
Anonymous | ||
Printed | Page 432 First paragraph |
"can be specified by the first and row attributes" should be "can be |
Anonymous | ||
Printed | Page 482 getActionListener() description |
"Returns an instance of the default ActionListener instance used for |
Anonymous | ||
Printed | Page 489 renderView() description |
It's duplicated. One copy should be removed. |
Anonymous | ||
Printed | Page 496 writeText() description |
A parameter is missing in the signature. It should look like this: |
Anonymous | ||
Printed | Page 496 writeText() description |
"The property name may be used to associate the attribute with ..." |
Anonymous | ||
Printed | Page 496 writeText() , the description NOW READS |
public abstract void writeText(Object text, java.lang.String property) |
Anonymous | Aug 01, 2004 | |
Printed | Page 510 getValue(Object base, Object property) description |
"while getting the type" should be "while getting the value" |
Anonymous | ||
Printed | Page 511 isReadOnly(Object base, int index) description |
"while getting the value" should be "while checking the writeability" |
Anonymous | ||
Printed | Page 511 isReadOnly(Object base, Object property) |
"while getting the type" should be "while checking the writeability" |
Anonymous | ||
Printed | Page 511 setValue(Object base, int index, Object value) |
"while getting the value" should be "while setting the value" |
Anonymous | ||
Printed | Page 511 setValue(Object base, Object property, Object value) |
"while getting the type" should be "while setting the value" |
Anonymous | ||
Printed | Page 512 getExpressionString() description |
"Returns the method binding expression ..." should be "Returns the |
Anonymous | ||
Printed | Page 518 ValueChangeListener description |
"This interface is implemented by all classes interested in handling |
Anonymous | Aug 01, 2004 | |
Printed | Page 518 ValueChangeListener method signature and description NOW READS |
public void processValueChange(javax.faces.event.ValueChangeEvent event) |
Anonymous | Aug 01, 2004 | |
Printed | Page 520 createResponseStream() signature |
The parameter name is missing. It should be: |
Anonymous | ||
Printed | Page 520 createResponseWriter() signature |
The first parameter name is missing. It should be: |
Anonymous | ||
Printed | Page 525 getMaximum() and getMinimum() parameter types |
public int getMaximum() |
Anonymous | Aug 01, 2004 | |
Printed | Page 525 setMaximum() and setMinimum() return types |
public void setMaximum(int maximum) |
Anonymous | Aug 01, 2004 | |
Printed | Page 533 createValidator() description |
"instance of the converter identified ... " should be "instance of the |
Anonymous | ||
Printed | Page 539 <state-manager> example snippet |
Copy/paste error. It should be: |
Anonymous |