From: Stanislav Paskalev <kshorg@gm...> - 2010-07-06 21:54:31
I'm using 0.9.10 with a single, simple Filter and appropriate mapping
for it in web.xml.
In the filter I register my own response wrapper (with getOutputStream
and getWriter methods) so I can get the response and modify it before
returning it to the browser.
However, the browsers receives the response (a static file) as soon as
I call filterChainArg.doFilter(request,wrappedResponse), also the
wrappedResponse's methods are not called at all. Then winstone returns
control to the filter, but it's useless - neither has it captures the
response, nor can another one be send.
Is this normal or I'm missing something here ?