DispatchAction in Struts2

What is dispatch Action in Struts

The DispatchAction class is used to group related actions into one class. Using this class, you can have a method for each logical action compared than a single execute method. The DispatchAction dispatches to one of the logical actions represented by the methods. It picks a method to invoke based on an incoming request parameter. The value of the incoming parameter is the name of the method that the DispatchAction will invoke.

Related Topic different Type of Actions in Struts2 Struts1
Struts 1 vs Struts2 Difference Performance
Difference between DispatchAction and LookupDispatchAction?
What is DispatchAction in Struts?
Multiple buttons in Struts using JavaScript

nScraps.com 2011   Privacy Policy  Terms of Service  Feedback