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]>

Reply via email to