Jon Stevens wrote:
> on 7/6/01 10:24 AM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:
>
>
> I personally think that it is possible to find a way to control the IO
> stream for JSP output. Call the servlet directly and just pass in a modified
> Response object that has your own stream instead of the ServletOutputStream.
>
Doesn't work, we tried. Tomcat 3.x does not even look at your modified
Response object because it passes the Response object to use in the
Request object, basically something like :
process(HttpRequest req, HttpResponse rsp)
{
HttpResponseImpl response = ((HttpRequestImpl)req).getResponse();
response.write(...).
...
}
the rsp reference is never used.
This is not a bug in Tomcat because the 2.2 spec says you have to give to
the requestdispatcher the same response object given to you by the container.
--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]