• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in exercise question of head first jsp & servlets.

 
shailesh thakur
Greenhorn
Posts: 15
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the be the container answers on page 420 of HFJS 2.0, the 1st question says that it will fail at request time as the person attribute is stored at request attribute.
What is the problem due to which it will fail.Can anyone please elaborate it?
 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello shailesh thakur,

Welcome to CodeRanch!

Please, TellTheDetails. It would be helpful if you put the question, options and correct answer. Because, people here might be willing to help you, but everybody does not have access to HFJS book right now.

I hope this helps.
 
shailesh thakur
Greenhorn
Posts: 15
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
please check the attachment and explain the first question why it is wrong?
doubt.jpg
[Thumbnail for doubt.jpg]
This is a snapshot of the page containing the question
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2437
95
Android Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shailesh,

You are right, this doesn't make sense. I checked the errata for you and it is actually a confirmed mistake, have a look:
Errata Head First (search for "420")

Regards,
Frits
 
shailesh thakur
Greenhorn
Posts: 15
Eclipse IDE MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frits...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic