How can I detect that the client side of a tomcat servlet request has disconnected? I\'ve read that I should do a response.getOutputStream().print(), then a response.getOutp
Have you tried to flush the buffer of the response: response.flushBuffer(); Seems to throw an IOException when the client disconnected.