struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran" <dantt...@hotmail.com>
Subject Re: Using nested tags
Date Tue, 03 Jun 2003 23:13:21 GMT
When you hit the submit, at the server side BeanUtils will try to insert
the array item to your form bean.

like setxxxx(int index, Item, eee)

do the error handling in this code to make sure your internaly Collection
size and handle the index, most likely you would need to increase it
dynamically.

-Dan

----- Original Message ----- 
From: "Huan Le" <huan.le@thetakgroup.com>
To: <struts-user@jakarta.apache.org>
Sent: Tuesday, June 03, 2003 11:59 AM
Subject: Using nested tags


> Hello:
>
> Could somebody explain this error message for me?
> E SRVE0026E: [Servlet Error]-[BeanUtils.populate]:
> java.lang.ArrayIndexOutOfBoundsException
>
> I'm using nested tags to display a list of info.  Whenever, clicking the
> submit button, I get the error above.  Do you know any solutions to
resolve
> this problem or any tutorial discussing this situation.
>
> Thank you very much.
>
> Huan
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message