Use the following action specific forward in struts-confing.xml file.
<action .......>
<forward name="success"
path="/diceSetUp.do?dispatch=diceWebSetUp"/>
</action>
I am sure , it will work fine.
Let me know the results.
Thanks and Regards,
Krishna Mattam
Team Member - CDF Toolset
Contact:044-22548575
Email: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 12:16 AM
To: Struts Users Mailing List
Subject: invoking method of DispatchAction from within another
DispatchAction
How do I invoke another DispatchAction from one DipatchAction ?
For e.g
If I want to call diceSetUp.do?dispatch=diceWebSetUp
from
public class SectorAction extends DispatchAction {
....
....
public ActionForward getSectorsFromQ(ActionMapping mapping,
ActionForm
form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
populateSectorsFromQ(request,initMap);
---> I would like to call diceSetUp.do?dispatch=diceWebSetUp here...!
---> How do i do this ?
return mapping.findForward(Constants.SUCCESS);
}
Thanks.
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of any
financial instrument or as an official confirmation of any transaction.
All market prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice. Any
comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its
subsidiaries
and affiliates.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]