File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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:
subject: Session TimeOut
It's not a secret anymore!