> Case 2: Let's say the form fields are named "field[0]", "field[1]",
...
> What would the declaration be for the set-parameter method in the
bean?
> "public void setField(int field, String input)" is the closest I could
> guess, but it doesn't seem to work.

I haven't tried, but one guess is that setField(String input) is called
n times with field[0] .. field[n] as parameter.

Please post if you find a solution, could be interesting.

/Mattias Jiderhamn
 [EMAIL PROTECTED]

===========================================================================
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

Reply via email to