GeeCON Prague 2014*
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


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: 3211
    
    6
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


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
 
GeeCON Prague 2014
 
subject: how can you be sure abt session attribute from any other servlet in the same context