Is there a way to restrict the call to validate method.
In below example "manageaccount.jsp" will be loaded initially by calling
"ManageLoad.do" action mapping.
 validate=false  is set as i dont need and validation when page loads first
time.

But later when i submit the form ,i need to validate form data and throw any
ActionErrors in same page ,so i am calling "Manage".do"


Experts ,is there any other better way to resolve such issue in struts1.2.8
version.

---------------------------------------------------------------------------
                <action path="/Manage"
                        type="com.cdutc.cdpw.cdacs.action.CManageAction" 
name="cManageForm"
                        scope="request" input="/jsp/manageaccount.jsp" 
parameter="method"
                        validate="true">
                        <forward name="success" path="/jsp/manageaccount.jsp" />

                </action>
                <action path="/ManageLoad"
                        type="com.cdutc.cdpw.cdacs.action.CManageAction" 
name="cManageForm"
                        scope="request" parameter="method" validate="false">
                        <forward name="success" path="/jsp/manageaccount.jsp" />


                </action>



---------------------------------
Raghuveer








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to