Store the retrieved data in a bean, store the bean in the 'request'
(request.setAttribute())object then forward the request to the JSP  (look at
RequestDispatchers in the help docs and in the archives to this list)..


Kevin Jones
DevelopMentor

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nathalie
Ghaoui
Sent: 18 January 2000 07:34
To: [EMAIL PROTECTED]
Subject: There is a part of the chain misssing here.


Hello everyone,
I am trying to use jsp with servlets.
I have a jsp page wich calls a servlet, the servlet makes a connection to
the database
and retreive some information requested.
The question is how am i going to send the information requested back by
calling a jsp page.
In other words how can the servlet pass information to the jsp so they can
be displayed as an html page,
without having to write html code within the servlet code. The HTML code
will be included in the jsp page
wich will be called by the servlet, and the response of the servlet should
be integrated inside the jsp page.
The question is anyone has a clue how to do that.
I would really appreciate some help i'm really stuck there.
Thank you.

___________________________________________________________________________
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