Pardon me, I forgot to mention earlier that the <form-beans> entry is also 
there.

Ashoka Murthy


>From: "Christian Rosner" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: Re: Need help
>Date: Fri, 2 Nov 2001 22:13:39 +0100
>
>Hi Ashoka,
>
>your sample struts config file does not define a form bean. Maybe this is
>the reason for your problem.
>
> >     <action    path="/logon"
> >                        type="com.tgt.d2g.auth.LogonAction"
> >                        name="logonForm"
> >                        input="/jsp/logon.jsp"
> >                        scope="session">
> >                       <forward name="home"  path="/jsp/home.jsp"/>
> >                       <forward name="error" path="/jsp/error.jsp"/>
> >     </action>
>
>You should add something like
>
>   <form-beans>
>     <form-bean name="logonForm" type="com.tgt.d2g.auth.LogonForm"/>
>   </form-beans>
>
>(or whatever name your ActionForm class has) to your file struts-config.xml
>(before to the action definition).
>
>Hope this helps
>
>Christian Rosner
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to