You need to allocate array space. For example, add an initial="20" attribute to the property.
On 9/9/07, john lee <[EMAIL PROTECTED]> wrote: > > Any expert can give me your hands? > > i have an DynaValidatorFrom as following: > > inside struts-config.xml > > <form-bean name="qtyform' type=" > org.apache.struts.action.DynaValidatorform> > <forn-property name="qty" type"java.lang.String[] "/> > </form-ban> > > inside validation.xml > > <form name="qtyform"> > <field property="qty" depends="required,integer"> > <arg position="0" key="lable.qty" /> > </field> > </form> > > But, the execution give me the error message for null point exception. > All the examples i could find is demonstrate how to use > DynaValidatorform/String, for my case, i want to use > DynaValidatorform/String[], how can i do it? > > tks in advance > > john > > > > > > > --------------------------------- > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > Games.

