S
Sergio Juan
Hi.
I have an applet that opens a connection to the server (URLConnection to a
jsp). The jsp invoked starts creating files and, each time one is created,
writes its name back to the applet so it can make the browser go and
download it. This all has works fine.
The trouble is that I want that, if the applet is destroyed (for example,
the window is closed), the back-end jsp stops generating files (it is a
heavy duty). I expected that, when the applet was gone, an IOException would
be thrown when the jsp writes the next file's name (it is allways followed
by a flush()), but that does not happen and the jsp keeps working until its
normal termination.
Any ideas? I'm using Weblogic5.1 as server, with JDK1.3.1
Thanks In advance. Sergio.
I have an applet that opens a connection to the server (URLConnection to a
jsp). The jsp invoked starts creating files and, each time one is created,
writes its name back to the applet so it can make the browser go and
download it. This all has works fine.
The trouble is that I want that, if the applet is destroyed (for example,
the window is closed), the back-end jsp stops generating files (it is a
heavy duty). I expected that, when the applet was gone, an IOException would
be thrown when the jsp writes the next file's name (it is allways followed
by a flush()), but that does not happen and the jsp keeps working until its
normal termination.
Any ideas? I'm using Weblogic5.1 as server, with JDK1.3.1
Thanks In advance. Sergio.