jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Session TimeOut Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Session TimeOut" Watch "Session TimeOut" New topic

Session TimeOut

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Hi All,
I am using Struts FrameWork. My problem is whenever session times out all the details in the jsp saved shoud be saved in database i.e. Autosave. I have many JSP like this in my Application. How can i implement this using struts framework.

Hope Some one could give a suggestion of implementing this.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Check out the javax.servlet.http.HttpSessionListener interface. It allows you to be notified when a sessione expires, so that you can take appropriate steps.
I agree. Here's the link: http://aspose.com/file-tools
subject: Session TimeOut
It's not a secret anymore!