struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schmidt, Carl" <Carl_Schm...@troweprice.com>
Subject Problems setting form properties
Date Thu, 25 Apr 2002 19:00:23 GMT
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message