Errata

Jakarta Struts Cookbook

Errata for Jakarta Struts Cookbook

Submit your own errata for this product.

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 65
2nd code snippet

<logic:iterate name="FavoritesForm" id="theColor" indexId="ctr">
should be:
<logic:iterate id="color" name="FavoritesForm" property="color" indexId="ctr">

Same error appears on p.66.

Anonymous   
Printed
Page 128
Lines 3-4 from bottom

list.add( new President( "Monroe", "James", "1817-25") );
list.add( new President( "Jackson", "Andrew", "1829-37") );

should be:

list.add( new President( "Monroe", "James", "1817-25") );
list.add( new President( "Adams", "John Quincy", "1825-29") );
list.add( new President( "Jackson", "Andrew", "1829-37") );

Anonymous   
Printed
Page 147
Code for getFoo(int index) method below paragraphs

list.add(index, new Foo());
should be:
list.add(newFoo());


Anonymous   
Printed
Page 220
In the paragraph beginning "To use the Validator..."

"...the type must be org.apache.struts.action.DynaValidatorForm..."

"action" should be "validator" in the package name, i.e.:
org.apache.struts.validator.DynaValidatorForm

Anonymous   
Printed
Page 376
1st paragraph

"The default memory file size is 256 KB."
should be:
"The default maximum file size is 256 KB."



Anonymous