aspose file tools*
The moose likes JSP and the fly likes Timer function in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Timer function in JSP" Watch "Timer function in JSP" New topic
Author

Timer function in JSP

Geetha Sarath
Greenhorn

Joined: Aug 08, 2005
Posts: 10
hi..
Want to create a webpage,for conducting a test.
I want to create a control which displays the seconds for each question.
When the time grows,the question second should decrease.
Able to create a second displayer in thread,thats in increasing order.
But want to create in decreasing ..
Would anyone help me for this..
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
JSP is a server-side technology. It executes on server, and client gets just html kind of stuff. Manipulating countdown in JSP needs requesting server, say every second.

Better idea would be an Applet or JavaScript. You can control the timer on server-side and can use JavaScript just countdown display. May be its just me.

Got some results by googling. You can also google around with "javascript countdown" or "java countdown" for more results.

http://javaboutique.internet.com/countdown/
http://javascript.internet.com/generators/countdown-creator.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timer function in JSP
 
Similar Threads
two questions: properties file and booked room
How Many String Object?
Pattern used in the qn
Maven sync and plugin
Who can describe with words?