Not sure about using SocketWriteException. A less elegant approach might be
to put a javascript function in the page that is called when the window is
closed. That JS function could call a servlet that you can write. (This is
a bit OT though because it's really to do with HTML rather than
An IOException should be thrown by write sometime after the socket is
disconnected. (It may vary due to buffering)
Tomcat doesn't log that IOException since it is so common but it can be
caught if your decide to do so.
-Tim
Stephan Coboos wrote:
Hi,
I need to send a very very big set of data