• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inside the class that implements HttpSessionListener

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice Explanation. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic