/servlet-interest Paula Lumby wrote:

> The callPage method of the .91 JSP spec did a fine job of calling a JSP from a
> servlet. Is there an example anywhere of doing the same thing with the JSP 1.0
> reference implementation. In particular, how to do you pass a bean or session
> object to the JSP?
>

Check out RequestDispatcher in the 2.1 servlet API.  You can either forward
control to a different page (essentially a server-side redirect) or include the
contents of another servlet or JSP page (a server-side include) with it.

>
> Paula Lumby
> IBM VisualAge for Java/C++/RPG Services
> tel:   448-2517        (T/L) 778-2517
> Room:  2G42C      2G/KB4/1150/TOR
> e-mail:                     [EMAIL PROTECTED]
>

Craig McClanahan

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to