I'm trying to use Strut indexed tag but keep getting
java.lang.IndexOutOfBoundsException: Index: -9. It
displays with correct values but when the form is submitted,
I got the error. Below is a snip of my code. Do you know
what's wrong with it?
When you submit your form, the
, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 12:11 PM
To: 'Struts Users Mailing List'
Subject: RE: Use Indexed properties - Encounter IndexOutOfBound Exception
I'm trying to use Strut indexed tag but keep getting
java.lang.IndexOutOfBoundsException: Index: -9
I thought when the form is submitted, Strut will re-construct
the collection of objects with values from the input form.
Therefore, I don't have to specify the Collection/List size
in the form bean constructor.
I can tell you from bitter experience that it does not work that way. The
3 matches
Mail list logo