DefaultActionInvocation
will try to call also doDelete
if it couldn't find delete
method in action's class.
<action name="delete" class="example.CrudAction" method="delete">
action中的方法名可以为delete,如果CrudAction类中找不到delete会去找doDelete方法
To use a postfix wildcard, just move the asterisk and add an underscore.
<action name="Crud_*" class="example.Crud" method="{1}">
使用后缀通配符,要用下划线和星号