File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Timer control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Timer control" Watch "Timer control" New topic

Timer control

hariharan jayaprakash
Ranch Hand

Joined: Sep 09, 2010
Posts: 62
I am creating a webpage and i wanna create one timer control in which it should expires after some times in that page, if we didnt use...

I dunno how to achieve this>.. any ideas?.
Ragupathirajan Venkatesan
Ranch Hand

Joined: Aug 18, 2010
Posts: 62
Not sure it will work or not and found the same in some website. Just try this in web.xml

it will expire in 30 mins.
hariharan jayaprakash
Ranch Hand

Joined: Sep 09, 2010
Posts: 62
yeah thanks... its working. If i wanna have some message should get display in every second in that page, How can i achieve?..
you page will be expired in 30:00 min.. 29:59... upto 00:00...
It is sorta covered in the JavaRanch Style Guide.
subject: Timer control
Similar Threads
Timer for lock
WEblogic Integration Timer COntrol not working for onTimeout
Label not repainting inside method.
displaying time
Controlling location update interval