tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bip Thelin <...@razorfish.com>
Subject Re: Possibly error in RequestDispatcher
Date Tue, 15 May 2001 18:01:09 GMT
RAUL wrote:
> 
> Hi,
> I include a JSP page via RequestDispatcher.include(request,
> responseWrapper), being responseWrapper a subclass of
> ServletResponseWrapper. This responseWrapper object has its own
> ServletOutputStream, the JSP page must write its out to the
> responseWrapper's ServletOutputStream. However, it writes its out to the
> response provided by the servlet engine. In addiction, if I change
> RequestDispatcher.include(request, responseWrapper) for
> RequestDispatcher.forward(request, responseWrapper), the JSP page writes
> its out to the responseWrapper's ServletOutputStream.

Which version of tomcat? I do this for SsiServlet in TC4, check these files:
org.apache.catalina.util.ssi.SsiInclude
org.apache.catalina.util.ssi.ServletOutputStreamWrapper
org.apache.catalina.util.ssi.ResponseIncludeWrapper

	..bip

Mime
View raw message