I have an inital page, called ResetPasswordActionForm.jsp. It has a hidden
form field called submitFlag, which is hardcoded to true. The form is
submitted to action path : /ResetPasswordUserName. In the action class I
set the the submitFlag to false, and forward directly to another action
mapping: /gln/ResetPasswordQuestions. This calls the action class, but when
i examine the value of submitFlag, it is set back to true.
What's happening here?
struts-config.xml snippet for reference:
<action path="/ResetPasswordUserName"
type="com.trp.gln.application.gln.Actions.ResetPasswordAction"
name="ResetPasswordActionForm"
input="/ResetPasswordUserName.jsp"
scope="session"
validate="true"
>
<forward name="failure" path="/ResetPasswordUserName.jsp" />
<forward name="success" path="/gln/ResetPasswordQuestions" />
</action>
<action path="/ResetPasswordQuestions"
type="com.trp.gln.application.gln.Actions.ResetPasswordAction"
name="ResetPasswordActionForm"
input="/ResetPasswordQuestions.jsp"
scope="session"
validate="true"
>
<forward name="failure" path="/ResetPasswordQuestions.jsp" />
<forward name="success" path="/gln/ResetPasswordNewPassword"
/>
</action>
Carl
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>