Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets/jsp

 
syam prasad
Greenhorn
Posts: 2
  • 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
  • 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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic