Instantiate the target action class and call a method on it. Action
classes are supposed to be stateless, so it should be irrelevant for
you what instance to use.
On 3/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 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);
> }
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]