You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Huan Le <hu...@thetakgroup.com> on 2003/06/03 20:59:11 UTC

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


Re: Using nested tags

Posted by lcl <lc...@gnireel.com>.
I need online tutorial :-)
"Mark Galbreath" <ma...@qat.com>
:005b01c32b16$dd062c30$8d00a8c0@mgalbreathc810...
> you didn't. would you like lessons?
>
> -----Original Message-----
> From: lcl [mailto:lcl@gnireel.com]
> Sent: Wednesday, June 04, 2003 11:55 PM
>
> Hi Dan,
>
> Sorry for post it to your email directly.




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


RE: Using nested tags

Posted by Mark Galbreath <ma...@qat.com>.
you didn't. would you like lessons?

-----Original Message-----
From: lcl [mailto:lcl@gnireel.com] 
Sent: Wednesday, June 04, 2003 11:55 PM

Hi Dan,

Sorry for post it to your email directly.



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


Re: Using nested tags

Posted by lcl <lc...@gnireel.com>.
Hi Dan,

Sorry for post it to your email directly.

I have meet the same question when I use nested tag, could you give me a
more detailed info about it, the best is some codes about it.

Thank you very much.


"Dan Tran" <da...@hotmail.com>
:Law11-OE123h3vLgAus00030661@hotmail.com...
> 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" <hu...@thetakgroup.com>
> To: <st...@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


Re: Using nested tags

Posted by Dan Tran <da...@hotmail.com>.
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" <hu...@thetakgroup.com>
To: <st...@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


RE: Using nested tags

Posted by Mark Galbreath <ma...@qat.com>.
It would be more helpful if you actually posted the usage that is causing
this.  Apparently, you have one tag driving the across array bounds.
Classic fencepost error.

Mark

-----Original Message-----
From: Huan Le [mailto:huan.le@thetakgroup.com] 
Sent: Tuesday, June 03, 2003 2:59 PM
To: struts-user@jakarta.apache.org
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