Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes struts session time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

struts session time out

deepak tewari

Joined: Mar 29, 2005
Posts: 4
I am using struts and JSP's I want to redirect upon timeout to the login page. I check the session in each page and if it doesn't exist, I send them . The problem with this is that the user needs to submit something. They might think they have a session until they hit submit.

and its too tedious to do this on each and every page is there some other way in struts using web.xml or struts-config.xml
I agree. Here's the link:
subject: struts session time out