The object is available the duration of the current session. It is stored in the HttpSession object.
The object is available while current servlet instance exists.
It can be accessed by calling getAttribute() method of the ServletContext class.
The object is stored in the ServletContainer class and is available to all other servlets
and JSPs inside the current JVM.
This behaviour is defined by servlet container implementation.
The object exists for the duration of the current request.
It can be destroyed by the garbage collector later.
|