Manoel Sa wrote:
>
> (i am submitting to the list since bugrat isnt working)
>
> OS: Linux 2.2.16
> JVM: sun or ibm 1.3
> tomcat release: 3.1 or 3.2b8
>
> when using listboxes with multiple selections posting from a form
> setproperty ... property="*" doesnt call the appropriate method.
> ====================================
> eg.
> Request form:
> ....
> <select name="lb" multiple>
> ...
> </select>
>
> Bean:
> ...
> public void setLb( String[] a ) {
> ...
> }
>
> JSP:
> <jsp:useBean id="b" scope="request" class="..." />
> ...
> <jsp:setProperty name="b" property="*" />
> ======================================
>
> This bug doesnt happen when using 1.2.2 (sun) jvm
Are you sure that you don't have a getter method with a conflicting type
for this property in your bean (or a superclass), e.g.
public String getLb()
JDK 1.3 is much stricter than 1.2.x when it comes to interpret what's
a property and what's not.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com