Jump to content
head first jsp and servlets
Asked by Sorry.God
Posted Dec 29 2011 05:36 AM
On page 383 of the second print of book, currentTip is request scoped attribute
but on page 384 pageContent.getCurrentTip() method is invoked.
It is the getter method and should access the property.
Is pageContent the attribute and currentTip its property?
Thank You SIR!
Comment by rachel.j : Jan 10 2012 08:29 AM
I'm sorry for the confusion. I'm forwarding this question to our book technical support group (email@example.com) so they can help.
Answered by ChrisOlson
Posted Apr 23 2012 10:34 AM
I just got a response back from one of the authors on this question:
Sorry for the very long delay... this message got buried in my person email inbox.
The code the reader mentions on pg 384 is invalid. It should read like this:
<%= request.getAttribute("currentTip") %>
I hope that helps,
O'Reilly Book Support