aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HF Servlets & JSP - Sessions Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HF Servlets & JSP - Sessions Question" Watch "HF Servlets & JSP - Sessions Question" New topic
Author

HF Servlets & JSP - Sessions Question

Peter Braun
Ranch Hand

Joined: Feb 09, 2005
Posts: 57
Hello,

In Chapter 6 (Session Management) Mock Exam of Head First Servlets & JSP I have found an answer which is not clear for me.

Question 7., Answer C: "Attributes bound into a session are available to any other servlet that belongs to the same ServletContext."

Does is mean every servlet defined inside the same <web-app> tags can access that session?

Thanks in advance.
Peter
Satish Ramasamy
Greenhorn

Joined: Feb 13, 2006
Posts: 15
This correction is given in errata.

The following has to be added in the option C:
" and handles a request identified as being a part of the same session."


Thanks,<br />Satish<br /> <br />SCJP 1.4 - 98%
Peter Braun
Ranch Hand

Joined: Feb 09, 2005
Posts: 57
Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HF Servlets & JSP - Sessions Question