Hi all,
My problem is this. when a session is established i read some
values from the database and update it.
When the session is also closed , i update a table in the database.
But when the server shuts down abnormally
for eg when power goes off i need to update the table.
i am using tomcat as jsp and servlet engine.
i thought that when the server is closed the valueUnbound event is
also fired in the garbage collection
for all sessions. It is in this event that i update the database.
any solutions ??
Merrill
===========================================================================
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