This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in exercise question of head first jsp & servlets. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in exercise question of head first jsp & servlets." Watch "Doubt in exercise question of head first jsp & servlets." New topic
Author

Doubt in exercise question of head first jsp & servlets.

shailesh thakur
Greenhorn

Joined: May 30, 2012
Posts: 15

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?


Regards,
Shailesh
OCJP 1.6 , OCWCD 1.5
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1464
    
    5

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.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
shailesh thakur
Greenhorn

Joined: May 30, 2012
Posts: 15

Hi,
please check the attachment and explain the first question why it is wrong?



[Thumbnail for doubt.jpg]

Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1529
    
  22

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

Joined: May 30, 2012
Posts: 15

Thanks Frits...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in exercise question of head first jsp & servlets.
 
Similar Threads
Response attribute?
Login/Register based web page presentation
c:set using var
PageContext and jsp:useBean
request Attribute doubt?