Re: non-String properties and html:options

2001-03-06 Thread Johan Compagner
<[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 06, 2001 2:41 AM Subject: non-String properties and html:options > > I want to present a selection of Integers for the user > to choose. The jsp code is: > > > > > >

non-String properties and html:options

2001-03-05 Thread Gordon Maclean
I want to present a selection of Integers for the user to choose. The jsp code is: The form bean has an indexed property "years": public Integer [] getYears(); The above jsp code fails with this message: Root cause: java.lang.ClassCastException: java.l