Proper termination of applet-servlet communication
My client, represented by a java applet, is communicating with a servlet. When the webbrowser is closed, the servlet still has to do some cleaning up.
By closing the browser the destroy Method of the applet is invoked, but doesn't wait for a confirming success message from the servlet.
The servlet runs into the following exception :
- ContextManager: SocketException reading request, ignored - java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method) .......
Is there any special "How To" about this topic? Neither the servlet nor the applet tutorial gives any information or hint about this problem.
Can I delay the shut down of the IE until the servlet finished ?
I'm using "IE5.5" with "Java 1.3.0 Plug in" in a "Apache Tomcat" environment.
Every idea is appreciated.

