The answers yes.
Doing it yourself is thje best way to learn. This is such an easy thing to
try, you should have tried it before sending the question here,
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Cheng-Liang Shen
> Sent: 01 February 2001 00:16
> To: [EMAIL PROTECTED]
> Subject: Pass Parameters and Nested Jsp Question
>
>
> 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
===========================================================================
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