Michael Wentzel wrote:
> > Do you have an example of this, or can you point me in the right
> > direction?
>
> The tomcat implementation is in
> src/org/apache/tomcat/core/RequestDispatcherImpl.java.
>
> Depending on what you need passed to the servlet(as long as you don't need
> the
> entire HttpSession for some reason), I still think that a bean is a better
> solution.
>
FYI, the JSP engine uses a RequestDispatcher to implement the <jsp:include> and
<jsp:forward> tags. Doing it yourself is not going to help matters if the
includer and includee are trying to do two different kinds out output (by
calling getWriter() versus getOutputStream()).
Using a <jsp:include> is a perfectly reasonable solution if you want the output
of the included servlet to be copied to the output page -- it's basically the
same thing as doing server-side includes on static web pages. A bean or tag
will work better when you want to process the output created by the called
object before writing it to the response.
>
> IMHO
>
> ---
> Michael Wentzel
Craig McClanahan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]