File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Multipage Form implementation
Session validation
How to submit a page on change of Combo using Struts
struts 2 posting large data
struts session time out