HI Paul,
   
  But, i put initial="20" inside struts-config.xml, when execute, system still 
give me the error message that is the following:
   
  Error creating form bean of class org.apache.struts.action.DynaValidatorForm
  java.lang.NullPointerException.
   
  tks ur help
   
  john
  

Paul Benedict <[EMAIL PROTECTED]> wrote:
  struts-config. see the dtd

On 9/10/07, john lee 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, > 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.


       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Reply via email to