Basically you store the results in a bean. Put the bean in the request
object and 'forward' the request to the jsp using a RequestDispatcher. The
jsp then gets the bean from the request and uses the data.
You need to read the archives for lots on this, look for request
dispatching.
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
> Vidyasagar Guduru
> Sent: 24 May 2000 23:55
> To: [EMAIL PROTECTED]
> Subject: How to share the data btw servlet and jsp
>
>
> Hi,
> I am working on a problem that browser will send a
> request to a servlet, this servlet do back and
> manipulations and will have some data to post to the
> browser. but here I do't want to use the servlets
> response object. I want to invoke a jsp file wich is
> in the same server and will post the data that servlet
> is having.
> Please give any good solution
> Thanx
> Vidyasagar
>
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.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