wood burning stoves 2.0*
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
Author

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.

Regards
Arul.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41106
    
  45
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 - my free Android networking tools app
 
 
subject: Session TimeOut
 
Similar Threads
How to add header and footer to dynamically generated page for print
Dynamic forms with javascript
How to access CMR-fields in SessionBeans
object saved in request/session
Struts2: Server side response.....