You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Larry Meadors <La...@plumcreek.com> on 2002/05/01 16:24:44 UTC
Question about
OK, I have this html:
<select name='unt' multiple='yes' disabled='yes' size='5'>
<option value='MAINE'>Maine</option> <option
value='FLTHD'>Flathead</option> <option
value='CLRWT'>Clearwater</option> <option value='RKYPR'>Rockies
Purchased Logs</option> <option value='WNFLD'>Winnfield</option>
<option value='HUTTG'>Huttig</option> <option
value='OREGN'>Oregon</option> <option
value='CRSET'>Crossett</option></select>
and these setters in my form bean:
public void setUnt(int index, String unt) {
this.unt[index] = unt;
}
public void setUnt(String[] unt) {
this.unt = unt;
}
But I get an IllegalArgumentException when I submit my page before
either method gets called.
What am I missing?
Larry