Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mike lothar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3364
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic