wood burning stoves*
The moose likes Servlets and the fly likes inside the class that implements HttpSessionListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "inside the class that implements HttpSessionListener" Watch "inside the class that implements HttpSessionListener" New topic
Author

inside the class that implements HttpSessionListener

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
This is inside the class that implements HttpSessionListener


Is there anything possible from which i will get a handle to HttpServletResponse using HttpSessionEvent??

Any ideas from anybody please


If you want something you never had do something which you had never done
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
No. Anything that affects the response must be done in the servlet or by a filter, not in a listener. Note that there's no guarantee that the response hasn't been committed by the time the session listener is called.


Ping & DNS - my free Android networking tools app
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Nice Explanation. Thanks.
 
GeeCON Prague 2014
 
subject: inside the class that implements HttpSessionListener