Foster Bob wrote:
>
> >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").
>
> In JSP 1.0/1.1, neither setProperty nor getProperty have any provision for
> indexed properties.

I don't agree. In the JSP 1.0 spec, indexed properties are mentioned
explicitly for setProperty. The description could be clearer, but I know the
intention was to support multi-value parameter values like the ones from a
collection of checkboxes since I was involved in the discussion about this
part of the specification. The JSP 1.1 spec apparently needs to clarify this.

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.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".

Reply via email to