Struts 2 Action 集中配置

在开发中通常将多个方法写在一个action中,对于这样action可以采用集中配置方式

一个方法一个action配制

 <action name="delete" class="example.CrudAction" method="delete">