Errata

Head First Servlets and JSP

Errata for Head First Servlets and JSP

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 359
last 3 lines of code

("userName") must be (\"userName\")

ahmed  Jun 12, 2012 
Printed Page 383
Starting of page

currentTip is request scoped attribute and on next page it is accessed by <%= pageContent.getCurrentTip() %>
in the JSP expression tags

and by <jsp: getProperty name= 'pageContent' property='currentTip'>


Question:- Your answer was that pageContent is a wrapper object but if currentTip is attribute then how can it be accessed by using getter method? It is accessed by pageContent.getCurrentTip().

Answer:- It should be the property of pageContent attribute!

Anonymous  Dec 29, 2011