Hi all
I have a question as the following
I have three jsp files , they are 1.jsp, 2.jsp, 3.jsp. 1.jsp will include
2.jsp and 2.jsp will include 3.jsp.
In 1.jsp
<jsp:include page="2.jsp">
<jsp:param name="aaa" value="AAA">
</jsp:include>
In 2.jsp
<jsp:include page="3.jsp">
<jsp:param name="bbb" value="BBB">
</jsp:include>
So in 3.jsp, we can use request.getParameter("bbb") to get the parameter
value,
if we still can use request.getParameter("aaa") to get the parameter value
passed by 1.jsp. Thanks.
Chengliang
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
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