Thats exactly what you do!
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Just
> Pham
> Sent: 26 May 2000 15:29
> To: [EMAIL PROTECTED]
> Subject: forward(ServletRequest, ServletResponse)??
>
>
> Hi,
> I have a question regarding to the forward() method of the
> RequestDispatcher
> inteface.
> In my servletA, i get some result ObjectX and i want to forward
> this result
> to the next servletB. Can i save this ObjectX in the ServletRequest and
> forward it to the next servletB. I saw the method setAttribute(Object o,
> String name) & getAttribute(name) in the ServletRequest interface. If i
> can't do it, how can i pass this object to the next servlet without using
> HttpSession.
>
> Thanks very much,
>
> Justin Pham
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> __________________________________________________________________
> _________
> 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
___________________________________________________________________________
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