Hi Vlad!
You have to put you arguments as attributed with request scope
into the pageContext.
See pageContext.setAttribute().
The included page can then get that objects via pageContext.getAttribute().
>Hello, everyone!
>
>I am trying to include one jsp file in another, and I have to pass some
>parameters from one to another.
>
>The following does not seem to work.
>Is this the right way, or is there a better way.
>Thanks, Vlad.
>
><jsp:include page="targetfile.jsp" flush="true" >
> <jsp:param name="param1" value="5"/>
> <jsp:param name="param2" value="Start"/>
> <jsp:param name="param3" value="false"/>
> <jsp:param name="param4" value="false"/>
></jsp:include>
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST"
.
>FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
Ciao,
Carsten Heyl
Carsten Heyl [EMAIL PROTECTED]
NADS - Solutions on Nets http://www.nads.de/
NADS GmbH http://www.pixelboxx.de/
Hildebrandtstr. 4E Tel.: +49 211 933 02-90
D-40215 Duesseldorf Fax.: +49 211 933 02-93
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html