The only way I can think of off-hand to do this would be to enter a last_modified
column to the database. Every time a query runs an INSERT, UPDATE or DELETE, cause the
last_modified flag to be flipped. Check for the status of the flag and refresh the
page accordingly.
I haven't used technique in a while, but I seem to remember we did something like this
a project or two ago.
Cheers,
--
Dali
--------------------------
-----Original Message-----
From: Prakasan OK [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:37 AM
To: [EMAIL PROTECTED]
Subject: AutoRefresh
Hi All,
I want to reflect the changes in the Database automatically in
the screen.
i.e is User may be viewing his page. If any changes occures in the
databse during
this time, it should be reflected in the screen.
Any idea how this is possible without autorefreshig the screen(by
refreshing the page
at a fixed time interval)
Thanks in Advance,
Prakasan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets