This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets/jsp

 
syam prasad
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display some number of questions one by one with 180 seconds difference or by pressing next button randomly by using servlets/jsp.Till now i can display all the questions at a time randomly.I don't want to use script in my code.
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by syam prasad:
I want to display some number of questions one by one with 180 seconds difference or by pressing next button randomly by using servlets/jsp.Till now i can display all the questions at a time randomly.I don't want to use script in my code.

You could try <META HTTP-EQUIV="Refresh" content="180;URL=questions.jsp"> in your HTML header. This should, if supported, cause the page to refresh with the specified URL after 180 seconds. You can then respond with a new random question.
- Peter

[This message has been edited by Peter den Haan (edited May 18, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic