aspose file tools*
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


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 "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: 41579
    
  54
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inside the class that implements HttpSessionListener