Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Auto refresh of JSP on changing data in database

843836Jan 7 2004 — edited Jan 8 2004
Hello,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2004
Added on Jan 7 2004
7 comments
533 views