Re: Urgent: how to detect client has closed connection

2005-06-07 Thread Ronald Klop
@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Urgent: how to detect client has closed connection Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST) What Writer are you using? If you do response.getWriter() you will get a PrintWriter and the docs tell you that PrintWriter doesn't

Re: Urgent: how to detect client has closed connection

2005-06-02 Thread lapson lee
@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Urgent: how to detect client has closed connection Date: Wed, 1 Jun 2005 14:14:08 +0200 (CEST) What Writer are you using? If you do response.getWriter() you will get a PrintWriter and the docs tell you

Re: Urgent: how to detect client has closed connection

2005-06-01 Thread Ronald Klop
What Writer are you using? If you do response.getWriter() you will get a PrintWriter and the docs tell you that PrintWriter doesn't throw exceptions, so your app keeps printing to the writer after an error. (A closed connection is an IOException.) If you use the default out property of a jsp

Urgent: how to detect client has closed connection

2005-05-31 Thread lapson lee
Hey guys, I have a problem right now. I wrote a Jsp page to keep sending data to client browser. However, no exception was thrown when I use out.print() to send something to client even after client has closed his web browser. My question is how can i know his browser is closed, so I can stop