Hi Sankar,
Parameters of the previous HTML or a prior JSP, are not forwarded from
the current JSP1 to the next JSP2 unless you set them again in JSP1.
supposing the required parameters are p1, p2 and values are v1, v2
Set the parameters in JSP1 using something like
<jsp:forward page="../JSP2">
<jsp:param name="p1" value='v1'/>
<jsp:param name="p2" value='v2'/>
</jsp:forward>
regards
Gamini de Alwis
mailto:[EMAIL PROTECTED]
Software Developer
Business Manager Software
Tel (03) 9813 3022. Fax (03) 9882 5887
-----Original Message-----
From: M Sankar [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 10:20 PM
To: [EMAIL PROTECTED]
Subject: jsp:forward page
Hi,
I am posting a request from an HTML to a jsp page(call it jsp1). Now
jsp1 checks for some parameters using request.getParameter and pass this
request using jsp:forward to jsp2. But from the jsp2 when I do
request.getParameter, I am getting null values.
Is it that the new jsp page does not understand the request object. But
some documentation says that jsp: forward just forwards the request to a
new page for processing.
Replies from gurus would be helpful
Thx
sankar
========================================================================
===
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