This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Question about ServletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Question about ServletContext" Watch "Question about ServletContext" New topic

Question about ServletContext

Subbu Aswathanarayan
Ranch Hand

Joined: Jun 22, 2001
Posts: 73
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
to all servlets in the same application server?
please explain clearly.
Thanks in advance.

Venugopal nandikolla

Joined: Feb 02, 2001
Posts: 22
to all servlets in the same server.
Don't get me started about those stupid light bulbs.
subject: Question about ServletContext