struts-config. see the dtd
On 9/10/07, john lee <[EMAIL PROTECTED]> wrote: > > Hi Paul, > > after i add initial="20" into struts-config.xml, execution still > complain about NullPointerException. > > After i add initial="20" into validation.xml, <field property="qty" > initial="20" ..... > when i bounce the server, it complains about: ....attribute "initial" > must be declared for element type "field". > > any input? > > tks > > john > > > > > You need to allocate array space. For example, add an initial="20" > attribute > to the property. > > On 9/9/07, john lee wrote: > > > > Any expert can give me your hands? > > > > i have an DynaValidatorFrom as following: > > > > inside struts-config.xml > > > > > org.apache.struts.action.DynaValidatorform> > > > > > > > > > > > > > > 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. > > > > --------------------------------- > Choose the right car based on your needs. Check out Yahoo! Autos new Car > Finder tool.