I got the feeling that has something to do with the JspWriter implementation
of Tomcat 5.x, rather then with ServletOutputStream and PrintWriter:
filtering a servlet invoking getWriter() to do its output works. It doesn't
with jsp(s), which instead rely on JspWriter.
In my JspWriter API doc, I read the following:
" The initial JspWriter object is associated with the PrintWriter object of
the ServletResponse... which will be created if necessary by invoking the
getWriter() method on the response object."
So it seems that a JspWriter implementation shall rely on the getWriter() call
to obtain a PrintWriter (and, in fact, my overriding version of getWriter()
gets called...).
Putting a <[EMAIL PROTECTED] autoFlush="true/false"%> doesn't help either.
Any idea?
Regards everybody,
Giampaolo Tomassoni
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]