>From: "Lance Lavandowska" <[EMAIL PROTECTED]>
>To get their individual values you'd have to
>use request.getParameterValues("foo") which returns a String array.
>Perhaps this is a problem with the implementation of <jsp:setProperty ...
> > ?
Thanks for those comments.
The JSP 1.0 spec hints that the getParameterValues() thing might work. "The
usual Bean introspection is done to discover what properties are present,
and, for each, its name, whether they are simple or indexed, their type, and
setter and getter methods." (Section 2.13.2, p. 61). But I may be missing a
few tricks with "the usual bean introspection".
My initial thoughts were that I could defined an index property, such as:
public void setFoo(int index, String value)
or even something like:
public void setFoo(String[] values)
..and expect jsp:setProperty to "do the right thing" and supply me with
getParameterValues("foo").
But this does not appear to work for me (JRun 2.3.3, Build 152, JDK 1.2).
Thanks anyway
Richard
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".