Hello everyone!
I am attempting to create a jsp page (jsp1) which will include a result of
another compiled jsp (jsp2) with dynamic parameters to somewhat of the
following effect:
<%
int numForms = 5; //this is a variable that comes from session
for (int i=0; i<numForms; i++)
{
%>
<jsp:include page="MyForm.jsp" flush="true">
<jsp:param name="index" value="<%=i%>" />
</jsp:include>
<%
}
%>
My question is: is it possible to have a dynamic JSP parameter.
I welcome any suggestions about how this can/why it cannot be done.
Thanks in advance for your help.
Elena Tsifrina
SYSCOM, Inc.
www.syscom.com
410-539-3737 x1322
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com