AW: AW: AW: AW: How to cancel download on the server side

2016-06-06 Thread Steffen Heil (Mailinglisten)
Hi > It is a dirty Tomcat specific trick that will only work as long as the code > is the way it is but if you throw a ClientAbortException wrapped > in a ServletException you shouldn't see that log message. Thanks a lot, this was just what I was looking for. Regards, Steffen

Re: AW: AW: AW: How to cancel download on the server side

2016-06-05 Thread Mark Thomas
On 03/06/2016 22:08, Steffen Heil (Mailinglisten) wrote: > Hi > > >> throw new ServletException(); > > That was the difference. I threw a IllegalStateException(), so tomcat sent > "0\r\n". > I changed my code to throw a ServletException() and now it works. > Thanks for that. > > > One very

AW: AW: AW: How to cancel download on the server side

2016-06-03 Thread Steffen Heil (Mailinglisten)
Hi > throw new ServletException(); That was the difference. I threw a IllegalStateException(), so tomcat sent "0\r\n". I changed my code to throw a ServletException() and now it works. Thanks for that. One very little thing left: Is there a way to suppress the logged exception: Jun 03, 2016