DispatCHACTION Inherits from the Action class, it is an abstract class that encapsulates some basic methods to solve the ability to use an action to handle multiple operations, which is the biggest use of Dispatchction, it can help us with an Action class, package The operation method saves the number of classes, and it also reduces the difficulties of later maintenance.
There are several ways to include several methods in Dispatchaction:
Protected actionforward dispatchMethodprotected java.lang.reflect.Method getMethodprotected java.lang.string getmethodname
Dispatchaction is slightly different in the configuration of the standard Action, that is, in the Action configuration, this property will guide Dispatchction to find the corresponding method, such as this configuration: