This is by far a better way to do things than putting an applet on the
page. Tomcat does in fact throw an IOException if the other end of the
socket has closed. If you need to detect the user backing out of
something, just send a byte down ever now and then to see if the connection
is still open. Just be careful that you don't send the user a million
useless bytes before sending down your results.
Another potential way of handling this is to find all of the events a
browser might perform and using them to send a 'forget it' message.
I.E. onClose(), onBack(), etc would load a URL that did nothing but stop
the long running instruction. Of course, that's javascript dependent.
Jason
------------------------------------------------------------------------------
Warning : The information contained in this message may be privileged and confidential
and protected from disclosure. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by replying to this message and then delete it
from your computer. All e-mail sent to this address will be received by the Providian
Financial corporate e-mail system and is subject to archiving and review by someone
other than the recipient.
==============================================================================