The DispatchAction class is used to group related actions into single class. Using this class, you can have a method for every logical action compared than a one executes method. The DispatchAction dispatches to one of the logical actions shown 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 way that the DispatchAction will invoke.