I'm using filters to wrap a response and return a special
ServletOutputStream. If my class extends BufferedOutputStream,
index.html gets cut off when passed through the filter. If I just
extend FilterOutputStream, it works fine.

I'm guessing this is because the DefaultServlet is not calling
flushBuffer() on the ServletOutputStream. I think you would want
to do this in the copy(ResourceInfo, ServletOutputStream) method,
around the point where close the input stream.

Thanks,
Chris

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to