I am trying to redirect the action after a POST to the Dologin action to one of two actions. I would the url to reflect the action that i am redirecting to. However, the URL still remains with the action I posted to and not the redirected action. Below is the Struts.xml section -- Thank you
<package name="mobile" namespace="/mobile" extends="struts-default">
<action name="login">
<result>/mobile/login.jsp</result>
</action>
<action name="home">
<result>/mobile/home.jsp</result>
</action>
<action name="Dologin" class="action.LoginAction">
<result name="success" type="redirectAction">
<param name="namespace">/mobile</param>
<param name="actionName">home</param>
</result>
<result name="input" type="redirectAction">
<param name="namespace">/mobile</param>
<param name="actionName">login</param>
</result>
</action>
</package>