File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlets/jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets/jsp" Watch "servlets/jsp" New topic
Author

servlets/jsp

syam prasad
Greenhorn

Joined: May 15, 2001
Posts: 2
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.


shyam
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
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
 
subject: servlets/jsp
 
Similar Threads
Servlet reading a JSP file
res.setContentType(???????)
Completed SCWCD 1.4
JTree
how to implement Ajax with swing