WelcomeBody.jsp calls LoginBody.jsp.
There is a submit button in LoginBody.jsp.
When LoginBody.jsp is shown, the submit button
seems to be pressed at the same time.

Do I have to define global-forward "login"?

WelcomeBody.jsp:
<bean:message  key="main.welcome"/>
<html:link action="login">
<bean:message  key="main.login"/>
</html:link>

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