Chris Cornell wrote:

> Hello,
>
> Can anyone confirm that CallPage no longer exists in the 1.0 spec?  And if
> so, is there another similar method?  Thanks.
>

>From a servlet, use RequestDispatcher.forward("...") for this.  From a JSP page,
the equivalent is <jsp:forward  page="..."/>.

Besides forwarding control to a different servlet or JSP page, you can also
include the output from that page in your current response by using
RequestDispatcher.include("...") from a servlet, or <jsp:include page="..." />
from a JSP page.

In all cases, the specified path must start with a slash, and is interpreted as
relative to the servlet context you are running in.

>
> Chris c.
>

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

Reply via email to