According to this the attribute method in action tag is used to specify the method name that will handle the action-logic when the corresponding action is called.
The behavior is as: When any action is called, struts.xml is looked up for that action. If method attribute is specified then that method will be executed in the action class, if no method attribute is specified then by default execute() is called. And If there is no execute method and no other method specified in the configuration the framework will throw an exception.