This is in fact what I am trying to do:
<% for (int i = 0; i < Test.getIdx(); i++)
{
%>
<p>
< Input Tag<%out.print(i);%> >
Name: <input type="text" name="i<%out.print(i);%>name" size="20"
value="<jsp:getProperty name="test" property="name<%out.print(i);%>"/>">
Value: <input type="text" name="i<%out.print(i);%>value" size="50"></p>
<%
}
%>
but it does not work for the property name, is there a way to make it work for a
parametrized property name?
Thanks, Mike
===========================================================================
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