i have this in my struts-config
   <action path="/AddTmAccount"
    type="com.fltic.crm.action.manager.AddTmAccountAction"
    scope="session">
    <set-property property="loginRequired" value="true"/>
    <forward name="success" path="/manager/addtm.jsp"/>
   </action>   
   <action path="/SaveTmAccount"
    type="com.fltic.crm.action.manager.SaveTmAccountAction"
    name="userAccountForm"
    scope="session" 
    input="/manager/addtm.jsp"
    validate="true">
    <set-property property="loginRequired" value="true"/>
    <forward name="success" path="/ManageTmAccounts.do"/>
    <forward name="error" path="/AddTmAccount.do"/>
   </action>

i have set scope to session so that on error the textbox will be populated with 
previos user entry. If the validation succeeds then i'll save the record. But here's 
my problem
whenever i return to the my AddScreen the last values is still there. How to i 
manually call the reset button of my formbean userAccountForm.

thanks.

Reply via email to