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
last 3 lines of code
("userName") must be (\"userName\")
||Jun 12, 2012
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!
||Dec 29, 2011