struts2 action 标签中的method方法
2014-06-05 21:50
197 查看
DefaultActionInvocationwill try to call also
doDeleteif it couldn't find
deletemethod 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}">使用后缀通配符,要用下划线和星号
相关文章推荐
- Struts2标签中调用action中的方法执行hql语句的错误
- struts2 action配置时 method 省略不写 默认执行方法是什么?
- 使用<a>标签调用struts2的action、传递动态参数、以及参数中出现加号等特殊字符的处理方法
- Struts2理解--动态方法和method属性及通配符_默认Action
- Struts2理解--动态方法和method属性及通配符_默认Action
- Struts2一个Action内包含多个请求处理方法的处理,method的使用方法,struts2中的路径问题,通配符映射
- Struts2的<s:if> 标签判断Action中的字段是否为null或者空字符串的方法
- Struts2不使用自带标签库执行method方法
- Struts2理解--动态方法和method属性及通配符_默认Action
- Struts2理解--动态方法和method属性及通配符_默认Action
- Struts2一个Action内包含多个请求处理方法的处理,method的使用方法,struts2中的路径问题,通配符映射
- Struts2 Action下面的Method调用方法
- struts2配置及ActionMethod_DMI_动态方法调用
- [转]Struts2理解--动态方法和method属性及通配符_默认Action
- struts2动态方法调用 ActionName!methodName.action
- Struts2一个Action内包含多个请求处理方法的处理,method的使用方法,struts2中的路径问题,通配符映射
- Struts2一个Action内包含多个请求处理方法的处理,method的使用方法,struts2中的路径问题,通配符映射 (
- Struts2理解--动态方法和method属性及通配符_默认Action
- struts2 action配置时 method 省略不写 默认执行方法是父类ActionSuppot中的execute()方法
- Struts2理解--动态方法和method属性及通配符_默认Action