Am I missing something? How is 'response' initialised ?
Also, I thought the session listener methods sessiomCreated() and sessionDestroyed() are called asynchronous to a servlel request so one does not have a valid HttpServletResponse to re-direct.
If there is no session, it should have response object? Am i correct?
Please suggest, how i can handle session timeout, if it expires it should go login page
I tried same way. But Filter itself not called.
Any other things need to configure apart from that?
I put sop inside doFilter,it is not getting printed.
using Filter it should recogize session-timeout configred in web.xml?
I am using Spring MVC. Do i need to configure in spring-servlet.xml for filter configuration?