John, what version of Struts?

On 9/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Possibly because there's no "input" attribute, so it's
> bombing since it doesn't know what the input forward
> for the form is?
>
> d.
>
> --- john lee <[EMAIL PROTECTED]> wrote:
>
> > i have an DynaValidatorForm as following:
> >
> >   inside struts-config.xml
> >
> >   <form-bean name="qtyform'
> >
> > type="org.apache.struts.validator.DynaValidatorform>
> >        <forn-property name="qty"
> > type"java.lang.String[] "/>
> >   </form-ban>
> >
> >    <action path="/partupdate"
> >                type="PartUpdateAction"
> >                name="qtyform"
> >                validate="true"
> >                scope="session" >
> >                <forward name="success"
> > path="/cart.jsp">
> >   </action>
> >
> >
> >   inside validation.xml
> >
> >   <form name="qtyform">
> >     <field property="qty"
> > depends="required,integer">
> >       <arg position="0"  key="lable.qty" />
> >    </field>
> >   </form>
> >
> >   inside test.jsp
> >
> >   <html:form action="/partupdate">
> >    <input type="text" name="qty">
> >   </html:form>
> >
> >     But, the execution give me the following error
> > message after i leave the Qty field is blank.
> >
> >     unhandled exception:
> >   java.lang.illegralArgumentException: the path of
> > ForwardConfig can not be null:
> >
> >   Any expert know what cause this?
> >
> >   tks in advance
> >
> >    john
> >
> >
> >
> > ---------------------------------
> > Looking for a deal? Find great prices on flights and
> > hotels with Yahoo! FareChase.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to