• Post Reply Bookmark Topic Watch Topic
  • New Topic

stop after a delay

 
Eric Bosmans
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm currently implementing an application based on the MVC. This is an application which performs a logical test. Each test has its own jsp called by the controller the number of times needed following the number of questions in this test. These tests are timed, I need to stop the test and call the next jsp after a certain delay and don't know how to perform this. If you could help me, that would be great !
To summarize, my problem is to have a timer running outside the application context and to load a precise jsp after the delay but don't forget, it will be called programatically outside its context.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since servlets and JSP can't originate a connection to a client, you need to have a function on the client that will check the time and make a request for your jsp. Presumably JavaScript will do the job but an applet could also be used.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!