Hai,
I think this can be done using session variable. What all parameters u
want to pass can be added to this session using either putValue or
setAttribute methods and then call the jsp. In jsp u can access this session
object
and get those parameters.
regards,
Srikanth Jagrothu
Software Engineer
Infosys Technologies Ltd
email: [EMAIL PROTECTED]
             [EMAIL PROTECTED]


-----Original Message-----
From: Mozhgan Eslami [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 3:10 PM
To: [EMAIL PROTECTED]
Subject: Sending parameter to JSP from Servlets.


Hi all,
I want to send some parameter from a servlet to a JSP, I can call jsp from
servlet with this code that I write In doget of servlet but how can I set
"Req" for this JSP?
   RequestDispatcher rd =
      getServletContext().getRequestDispatcher("//CalledJSP.jsp");
   rd.forward(req, resp);
Please help me,
Thank you,
Mozhgan.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to