I am having this same problem, but the formbean that I am using already has the variable as an array of strings. Here is my setup
BEGIN JSP:
<html:select name='reportForm' property='items_right' multiple='true' size='10' style='width:225px;'>
<html
ptions collection='paramSelect' property='paramName' labelProperty='paramDesc' />
</html:select>
END JSP
BEGIN ACTION:
log.warn("items_right: " + rf.getItems_right());
log.warn("test: " + request.getParameterValues("items_right"));
END ACTION
BEGIN FORM:
public String[] getItems_right() {
return items_right;
}
public void setItems_right(String[] items_right) {
this.items_right = items_right;
}
END FORM
the options are being populated from the action and that is working.
I am getting other values from my form, but this one is not being getting anything back for some reason.
any ideas? Need more information?
thanks