struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Rosner" <cros...@gmx.de>
Subject Re: Need help
Date Fri, 02 Nov 2001 21:13:39 GMT
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message