The moose likes Java in General and the fly likes How to introduce Time Out feature in web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to introduce Time Out feature in web application" Watch "How to introduce Time Out feature in web application" New topic

How to introduce Time Out feature in web application

vikram karne
Ranch Hand

Joined: Jun 05, 2007
Posts: 34

I am stuck in a problem for which i need your help.
We are implementing a Time Out feature for one of the functionalities in a web application.
we have a functionality called Alerts in our application.
Currently the Alerts are displaying properly and are present in the application all the time . now we have to implement the Time Out feature for the requirement.The Alerts should disappear after certain amount of time.can anybody let me know the design for this approach and how this should be implpemented.

i am using jdk 1.5,MySql db, JBoss Application server, Struts for the UI.
Please let us know your comments and suggestions. waiting for a positive reply form your side.

Thanks & Regards
Vikram K
sammaiah kyatham
Ranch Hand

Joined: Aug 03, 2003
Posts: 104
Set the session time out if you are using session.

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
The session timeout will invalidate your session so you can't retrieve more pages on the same session. I'm not sure that's what you're after. Can you define "disappear" a little better? If I'm watching the screen at the moment time expires, does something happen?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Consider Paul's rocket mass heater.
subject: How to introduce Time Out feature in web application
Similar Threads
PLEASE, I need help with this..............
How can I let the users to talk with each other over the web?
Web Scraping
regarding SLSB and ThreadLocals
Avoiding "Directory Listing For xyz" for a Web Application