To use the DispatchAction, follow these steps:
? Make a class that extends DispatchAction (instead of Action)
? In a new class, add a method for each function you need to perform on the service - The method has the similar signature as the execute() method of an Action class.
? Do not override execute() method - Because DispatchAction class itself gives execute() method.
? Add an entry to struts-config.xml