Hi,
I need to send a very very big set of data within a servlet to the users
browser. But if the users canceles the transmission or closes its
browser I need to cancel writting the data to save resources. But if the
user canceles the response during transmission I don't get a
SocketWriteExcepti
e servlet could
just read the session from the request object.
> -Original Message-
> From: Stephan Coboos [mailto:[EMAIL PROTECTED]
> Sent: Wednesday 20 October 2004 16:33
> To: [EMAIL PROTECTED]
> Subject: How to get a notfication if the user closes its browser?
>
&g
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 wi