Hi All,
I have a small problem and hope to get a solution from you. The problem is :

I have a simple HTML form submitting some values to a servlet. This servlet
writes those values to the MS-Access DB and returns a confirmation.

My question is what should be done when the SUBMIT button in the html form
is hit and immediately STOP button of the browser is clicked ? Right now,
the servlet runner is throwing a java.net.SocketException : Socket Write
error (code = 10053) after some time of hitting the STOP button. But, still
I am able to see the values inserted into the Access DB !

I have tried con.setAutoCommit(false) and con.commit() and con.rollback() at
(supposedly) appropriate places (here con is the Connection object) No use.
Can anybody please give me a tip to solve the problem ?

regards and thanks,

Bhaskar Varanasi
IIC Technologies Pvt. Ltd.,
Hyderabad.
http://www.iictechnologies.com

Alternate e-mail :
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to