jQuery in Action, 3rd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes how can you be sure abt session attribute from any other servlet in the same context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "how can you be sure abt session attribute from any other servlet in the same context" Watch "how can you be sure abt session attribute from any other servlet in the same context" New topic
Author

how can you be sure abt session attribute from any other servlet in the same context

Mike lothar
Greenhorn

Joined: Nov 16, 2004
Posts: 22
Hi All,
how can you be sure to access session scoped attribute from any other servlet in the same context.

Thank you
Mike
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3314
    
    8
Not any servlet from same servlet context can access the session scoped attribute, but only those who:
1) from the same servlet context
2) participate in the same session

regards,
MZ


Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Exam 1Z0-810: Upgrade to Java SE 8 Programmer Study Guide and Quiz
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can you be sure abt session attribute from any other servlet in the same context
 
It's not a secret anymore!