Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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.
I agree. Here's the link:
subject: Question about ServletContext
It's not a secret anymore!