This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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: 3330
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