funy, how I just asked and answered that question myself..:


<%@ include file="/path/file.html?var1=name1 etc etc" %> DOES NOT work..

<jsp:include page="/path/file.html?var1=name1 etc etc" /> Works fine (!)

For nicer-looking code, one can use the jsp:param statements insinde the
include tag...

regards,

Caspar van Vroonhoven
www.tradingcars.com
Amsterdam, the Netherlands









-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Saket Raizda
Sent: Friday, August 04, 2000 2:58 AM
To: [EMAIL PROTECTED]
Subject: Passing param to a included file in a JSP


hi folks,
I'm puzzled about how to pass parameters to a file(also a jsp) that is
included in a jsp file using a jsp:include tag
any directions will appreciated.
thanks and regards
-Saket

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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