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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Godzilla2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?