Discussion Locked

Servlet Problem

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm working on Servlet.I want to develop a screen in sucha manner that it refreshes automatically after a specified period of time(suppose 60 sec.) with new data from the database,in case if user does'nt click on "next" button in time.How can i achieve this task in servlets?

1 reply

by jay eckles

This actually isn't a servlet problem, it's an HTML problem. You should include a META tag in the document telling the browser to refresh the page after 60 seconds, then program your servlet to deal with the repeated requests.

Most (but not all) browsers support this META tag.

Good luck.

Jay Eckles
www.jayeckles.com

This discussion is closed to new replies.