This discussion is archived
2 Replies Latest reply: Jun 27, 2006 3:53 AM by 843844 RSS

Dispatch Action

843844 Newbie
Currently Being Moderated
Hi how to use DispatchAction in struts
  • 1. Re: Dispatch Action
    843844 Newbie
    Currently Being Moderated
    pls...
    see
    th org .apache.struts.action.DispatchAction class
    this Action provide DispatchAction class is to allow multiple operation
    & you must include one method on your DispatchAction For every Action you want to invoke for DispatchAction
    Ex..

    refer in orieilly
  • 2. Re: Dispatch Action
    843844 Newbie
    Currently Being Moderated
    Hi,
    Whenever working with dispatch action, while specifying its button name or link name specify an attribute called "property", give some logical name for this attribute and in struts-config.xml, the same attribute with logical name should be used. so when ever u send multiple requests with in a same page , it gets processed, do not forget to implement ur methods with same execute() signature.