I stand corrected. Thanks craig :)
-tg
----- Original Message -----
From: Craig McClanahan <[EMAIL PROTECTED]>
To: Taylor Gautier <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 1999 11:45 AM
Subject: Re: Why use Servlets with JSP?
> Taylor Gautier wrote:
>
> > You can't really forward from one JSP to another, because by the time
you
> > get control, it has already opened an output stream on the output
socket.
> >
>
> See <jsp:forward>. All you need to do is make sure that the buffer you
declare in
> your "page" directive is large enough that the output hasn't been flushed
yet, and
> you can forward JSP->JSP or JSP->servlet.
>
> Since a JSP page is compiled into a servlet, it's hardly surprising that
the
> implementation of this uses RequestDispatcher.forward() underneath the
covers.
> This gives you two more forwarding options: servlet->servlet and
servlet->JSP.
>
> Craig McClanahan
>
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html