This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Servlets and the fly likes what is meant by Context Attributes? is it that the attribute is visible to entire web app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "what is meant by Context Attributes? is it that the attribute is visible to entire web app" Watch "what is meant by Context Attributes? is it that the attribute is visible to entire web app" New topic
Author

what is meant by Context Attributes? is it that the attribute is visible to entire web app

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 984

what is meant by Context Attributes.

Context as in it is accessible by entire web application

Attribute as in is it value that needs to be set up that cannot be setted up in deployment descriptor and it has to be setted by getAttributes() and setAttributes()


http://www.lifesbizzare.blogspot.com || OCJP:81%
Shanky Sohar
Ranch Hand

Joined: Mar 17, 2010
Posts: 1047

Yess,,You are right.


SCJP6.0,My blog Ranchers from Delhi
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 984

Owww ohkk thnks Shanky, i was confused as initially

Also i keep on forgetting Whether ServletContext is an Interface or a class same for ServletContextEvent

I have written in my note right now ServletContext--> Interface ServletContextEvent->class
Shanky Sohar
Ranch Hand

Joined: Mar 17, 2010
Posts: 1047

You are welcome
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: what is meant by Context Attributes? is it that the attribute is visible to entire web app
 
Similar Threads
Can we turn on and off the servlets in web.xml?
ServletContext
Doubt in Session Attributes (HFSJ)
variable doesn't increment
servlets