How can a servlet refresh automatically if some new data has entered the database?
Maintaining database state across session I have a servlet, which when called from a web page calls a PL/SQL procedure that updates certain records in the database. After which the servlet redirects the user to another Web page. Only if the user Submits from this page, do I need to COMMIT the UPDATES done in the stored procedure. How can I ensure this?