<struts-config>
  ...
  <action-mappings>

  <action
    path="/login"
    type="action.LoginAction"
    scope="request"
    name="loginForm"
    validate="true"
    input="/pages/login.jsp">
    <forward name="Success" path="/action/showoptions" redirect="true"/>
    <forward name="Failure" path="/pages/login.jsp" redirect="true"/>
  </action>
  ...
  </action-mappings>
  ...
</struts-config>