tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RAUL <marji...@yahoo.es>
Subject Possibly error in RequestDispatcher
Date Tue, 15 May 2001 10:18:17 GMT
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.

Thanks a lot.
Raúl.


_______________________________________________________________
Do You Yahoo!?
Yahoo! Messenger: Comunicación instantánea gratis con tu gente -
http://messenger.yahoo.es

Mime
View raw message