The second action is doing exactly what the first action did, which is what every action does: it sets the associated formbean property to the corresponding value from the *request*.
"Schmidt, Carl" <[EMAIL PROTECTED]> writes: > 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]> -- Jim Crossley http://www.lads.com/~jim -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

