« Return to Thread: Custom request filter doesn't write to output stream.. Java

Custom request filter doesn't write to output stream.. Java

by Godzilla2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I have own java request filter that has myResponseWrapper and calls chain.doFilter(request, myResponseWrapper);

myResponseWrapper has anonymous servletoutputstream class that is called when getOutputStream() is called. This servletoutputstream has overriden write() methods from the reali ServletOutputStream, however these write methods are nerer called... The getWriter method in the wrapper also is implemented The filter works on. The filter works on jboss.. it writes bytes to response, on jetty i have empty screen ... why?

 « Return to Thread: Custom request filter doesn't write to output stream.. Java