Auto refresh of JSP on changing data in database
843836Jan 7 2004 — edited Jan 8 2004Hello,
I�ve been searching in archives with no success. Similar questions, but no convenient responses. I hope to be more lucky today...
I developped a web application with CodeCharge Studio, using JSP and Java Servlets, that gets the displayed data from an Informix database. OS is Win NT/2000 and Tomcat is the web server.
Another application can modify data in database. Then I have to automatically refresh the corresponding pages on the clients. There can be some hundreds clients and a main point is to prevent overloading the network. So I don�t have to auto refresh the pages at regular time interval with a Meta tag, but only on data changes in database.
What is the best way to do that ?
I read ideas about servlet/applet communication, but not clear enough to see how to proceed. I am not so familar with this topic, it will be useful if I could get some code examples for that.
Thanks in advance for any help.