Re: How can Servlet detect lost of connection to client?

2008-09-27 Thread Ming Deng
Even though servlet can't detect that kind of events, will Tomcat be aware of such events in its internal process? On Sat, Sep 27, 2008 at 5:21 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Ming Deng wrote: > >> If a client HTTP request takes some time to proc

How can Servlet detect lost of connection to client?

2008-09-27 Thread Ming Deng
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