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

Question about ServletContext

 
Subbu Aswathanarayan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I have a question.If i store some attribute using the servletContext.setAttribute() method, will this attribute be available to all threads of the same servlet
OR
to all servlets in the same application server?
please explain clearly.
Thanks in advance.
Subbu
 
Venugopal nandikolla
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to all servlets in the same server.
-venu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic