November 11, 2007 ----------------- JavaServer Pages Illuminated: Corrections in 1st edition: --------------------------------------------------------- p 96: ----- confirm that it created TestCourse.java directly under C:\JSP\Chapter1\assign15 Change to: confirm that it created TestCourse.class directly under C:\JSP\Chapter1\assign15. p. 248: ------- and the HelloWorldServlet.java file of Solved Exercise 4.1 into it. to: and the HelloWorldServlet.java file of Solved Exercise 4.9.1 into it. p. 249: ------- Thank you, John Smith, for your order! Summary of your order is: to: Thank you for your order! Summary of your order is: p. 278: ------- Change: d. (i), (ii), (iii) and (v) only to: d. (i), (ii) and (iv) only p. 292: ------- to: p. 295: ------- to: <%@ page import="java.text.DecimalFormat" %> p. 296: ------- } %> to: } DecimalFormat df = new DecimalFormat("#,##0.00"); %> p. 297: ------- To cancel the effect of two extra lines added in p. 295 and p. 296, make a change on p. 297 such that it occupies two lines less than before. For this, on p. 297, change one occurrence of:
to:
p. 309: ------- Change the form's action to ShowAllItems.jsp (instead of ShowAllItems.html). to; Change the form's action to Validate.jsp (instead of items/ShowAllItems.html). p. 309: ------- Modify it to show two INPUT fields to: Change the form's action to Validate.jsp. Show two INPUT fields p. 356: ------- Instead of using static HTML for the items on the ShowAllItems.html page, to: Instead of using static HTML for the items on the ShowAllItems.jsp page, p. 448: ------- verify that it behaves exactly the same as before (Section 9.5.1). to: verify that it behaves exactly the same as before (Section 9.5.1.1). p. 454: ------- to: p. 456: ------- String rowClass = "tableEvenRow"; to: String rowClass = "tableOddRow"; p. 457: ------- to: p. 469: ------- p. 511: ------- You can consider a more current version in which to: You can consider a more current (1.*) version in which p. 511: ------- http://struts.apache.org to: http://struts.apache.org/downloads.html p. 511: ------- 2. Click on the zip file under Full Distribution to: 2. Choose a release and click on the zip file under Full Distribution p. 513: ------- Add footnote: "Parts of this appendix (including description of Struts tags, attributes and their meanings) are copyrighted by the Apache Software Foundation and reproduced here per the Apache License, Version 2.0 available at http://www.apache.org/licenses/LICENSE-2.0.txt."