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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39535
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.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Session TimeOut
Similar Threads
Dynamic forms with javascript
object saved in request/session
How to add header and footer to dynamically generated page for print
How to access CMR-fields in SessionBeans
Struts2: Server side response.....