tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <>
Subject Re: How can Servlet detect lost of connection to client?
Date Sat, 27 Sep 2008 21:21:00 GMT
Ming Deng wrote:
> If a client HTTP request takes some time to process on the servlet side, it
> is possible that the Tomcat can lose connection to the client in the middle
> of this processing time, due to various reasons, for example the client
> quit. How can servlet detect such event so it can terminate the server side
> processing which is not needed any more
I believe that the only way is to receive IOException while writing to 

Mikolaj Rydzewski <>

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message