Doug, try <html:form action="/test">

robert

> -----Original Message-----
> From: Doug Dates [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 02, 2002 9:32 PM
> To: Struts Users Mailing List
> Subject: Re: Can't retrieve definition for form null
>
>
> Steve:
>
> Thank you for your reply.
> What you said is absolutely right. It is happened in my
> <html:form>. i have
> the form defined under that name in the struts-config file. The
> following is
> my snippest of my struts-config.xml and <html:form> tag:
>
> <form-bean name="myForm"
>          type="com.test.TestForm"/>
> <action    path="/test"
>                type="com.test.TestAction"
>                name="myForm"
>                scope="request"
>                validate="false"
>                input="/test.jsp">
>           <forward name="success"    path="/test.jsp"/>
> </action>
>
> <html:form action="/test.do">
>
> Is there something wrog with the above code?
> Thank you.
>
> ----- Original Message -----
> From: "Steve Vanspall" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 02, 2002 9:14 PM
> Subject: Re: Can't retrieve definition for form null
>
>
> > Usually it means that the form that you are referring to is either not
> > defined under that name in the struts-config file, or you are trying to
> call
> > the form with a null value.
> >
> > Is this happening when in your <html:form> tag.
> >
> > What does your html:form tag look like?
> >
> > regards
> >
> > Steve
> > ----- Original Message -----
> > From: "Doug Dates" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Thursday, October 03, 2002 10:51 AM
> > Subject: Can't retrieve definition for form null
> >
> >
> > > Hi:
> > >
> > > Has someone got the error "Can't retrieve definition for form null"
> > before?
> > > I am using struts1.1, when I try to open a page which is written in
> > struts,
> > > I got the above error. What could cause that error? I checked my form
> > bean,
> > > action class, struts-config, it seems everything is there.
> > >
> > > Thank you for your help.
> > >
> > > Regards,
> > >
> > > Doug
> > >
> > > ______________________________________________________________________
> > > Post your free ad now! http://personals.yahoo.ca
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to