• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ page 219, question 12, option D

 
Gangadhar Reddy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Head First servlets and JSP, I found as follows

"The servlets to which a request is forwarded may access the original query string by calling getQueryString() on the ServletRequest"

which seems to be wrong, because you can call getQueryString()only on HttpServletRequest but not on ServletRequest.

Could any one help me out in this?
 
Gangadhar Reddy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I had keyed F5 and because of which the question has been posted twice.

The POST is NON-IDEMPOTENT :-)
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
D is not a correct answer, and is already listed in the Errata.
 
Gangadhar Reddy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Christophe Verre :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic