Implement Session Timeout screen
Hi All,
I have a requirement where I have to show a seperate Timeout page to the user when the session times out. This page is not same as the login page. I have used a flag to determine if the user has logged out or the session timedout and it is working fine. But I cannot find a way to forward to the time out page. Can anyone help me on this?
So far I tried to use a subtype of HttpSessionListener and implemented the sessionDestroyed method. I know that I can get a request dispatcher from the SessionEvent but I cannot forward using the request dispatcher because forward need Request and Response as params. If I send null, I get a NullPointerException.
I know we can use javascript but that not an option for me.
Any Ideas?
Thanks
Ornov

