FYI setting validate="true" makes the whole thing work somehow.

-----Original Message-----
From: Asthana, Rahul [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 11:47 AM
To: user@struts.apache.org
Subject: [struts 1.2.4] Problem with DispatchAction


Hi All,
        Action which is derived from org.apache.struts.actions.DispatchAction  
was working fine with this entry,with the appropriate method being called. 
Please note that as yet I had not made any entry for the form bean in 
struts-config.xml.
                        <action path="/accounts/ViewMFAccountDetails"
                            name="accountHoldingsForm"
                                validate="false"
                                        
type="com.web.webapp.accounts.struts.action.ViewHoldingsAction"
                                        scope="cachemanager"
                                parameter="operation">
                                        <forward name="success"
                                         
path="/accounts/view_mf_acct_details.jsp"/>
                        </action>
As soon as I make this entry in struts-config.xml  -

                                        <form-bean 
                                        name="accountHoldingsForm"
                                        
type="com.web.webapp.accounts.struts.form.AccountHoldingsForm"/>

The methods in DispatchAction are not called any more.

Any help would be appreciated.
TIA
Rahul




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

Reply via email to