You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by venkat reddy <ve...@gmail.com> on 2008/05/06 06:40:54 UTC
How to stop ArrayIndexOutOfBoundsException from being thrown when using DynaActionForm
I'm using struts 1.2.7
struts-config.xml
===================
<form-bean name="multipleFieldForm"
type="org.apache.struts.action.DynaActionForm">
<form-property name="choices" type="java.lang.String[]"
size="4"/>
</form-bean>
When the number of choices in the jsp page exceed the size it's throwing
ArrayIndexOutOfBoundsException. Please explain in detail how to stop it from
being thrown.