Hi Sbb,
Welcome to JavaRanch! We don't have many rules here, but we do have one: your user name ought to look like "Firstname Lastname," preferably using your real name. When you get a chance, click on
My Profile and fix it, OK?
On to your question: the trick is to tell the browser to request a new page periodically.
You can include a tag like this in the <HEAD> section of the HTML your servlet sends:
<META HTTP-EQUIV=refresh CONTENT="5; URL=http://www.yourserver.com/yourservlet">
This tells the browser to load the URL
http://www.yourserver.com/yourservlet in 5 seconds. If
http://www.yourserver.com/yourservlet is the URL of your servlet, and the pages generated by your servlet always include this tag, then the effect is that the browser updates every 5 seconds. This won't work with every browser out there (won't work with Lynx, I don't think) but will work with most.
[ August 04, 2003: Message edited by: Ernest Friedman-Hill ]