• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlets/jsp

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 can't beleive you just said that. Now I need to calm down with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic