Re: [Resin-interest] ResponseStream.lengthException in Filter

2008-02-11 Thread Anoop Kulkarni
Thanks, Scott that worked You probably want your filter to disable the setContentLength() method for the response object. The length of the pre-processed data will be different from the actual length. Instead, just disable it and let Resin used chunked-encoding to handle the output.

Re: [Resin-interest] ResponseStream.lengthException in Filter

2008-02-08 Thread Scott Ferguson
On Feb 8, 2008, at 2:34 PM, Anoop Kulkarni wrote: Resin-pro-3.0.23 jdk 1.6.0_03 Hello, I’m getting the following exception while having a Filter render HTML. com.caucho.log.EnvironmentLogger.log [0] HTTP/1.1 200 OK com.caucho.log.EnvironmentLogger.log [0] cache-control: no-cache com.caucho.lo

[Resin-interest] ResponseStream.lengthException in Filter

2008-02-08 Thread Anoop Kulkarni
Resin-pro-3.0.23 jdk 1.6.0_03 Hello, I'm getting the following exception while having a Filter render HTML. com.caucho.log.EnvironmentLogger.log [0] HTTP/1.1 200 OK com.caucho.log.EnvironmentLogger.log [0] cache-control: no-cache com.caucho.log.EnvironmentLogger.log [0] expires: 1 com.