Tuesday, May 22, 2001 03:05 PM
My application uses applet and servlet communications. When the user closes the browser window (by clicking on the X button), my applet tries to send a command to servlet to do some clean up. The routine is in the applet's destroy method.
However, sometimes it does not work. What's a reliable way to handle the windows close event in the applet? I tried putting the routine in the stop method. It didn't seem to matter. Thanks.
Re: How to handle browser close in applet
Sunday, May 27, 2001 06:42 PM