You should be using action="login" not forward="login" in your html:link. The forward attribute uses a global forward to direct the request. (And I forget if the forward slash is required or not.)

-- Jeff

PC Leung wrote:

My Main.jsp content layout (Welcome page):
...
<bean:message  key="main.welcome"/>
<html:link forward="login">
<bean:message  key="main.login"/>
</html:link>
...

My struts-config.xml:
<action path="/login"
type="com.security.user.LoginAction"
name="loginForm"
scope="request" validate="true" input="/Login.jsp">
<forward name="success" path="/SecurityMaint.jsp"/>
<forward name="failure" path="/Login.jsp"/>
<forward name="cancel" path="/Welcome.jsp"/>
</action>


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



Reply via email to