It's not a secret anymore!
The moose likes Servlets and the fly likes Session Timeout configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Timeout configuration" Watch "Session Timeout configuration" New topic

Session Timeout configuration

Rakesh Jhamb
Ranch Hand

Joined: Jun 18, 2003
Posts: 154
Hi All,
Is there some way to specify in web.xml that if session has timed out, forward request to login page.


William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
No - you will have to write that code yourself.
gudla Dathathreya Reddy

Joined: May 05, 2004
Posts: 15
No- but you can write your own code and call in the required JSP or controller servlets. If you require the code I definitely help you .

Dathathreya Reddy
I agree. Here's the link:
subject: Session Timeout configuration
jQuery in Action, 3rd edition