Action中匹配多个方法使用(通配符*)
<action name="role_*" class="roleAction" method="{1}">
本文介绍 Struts2 框架中 Action 的通配符使用方法,通过实例展示如何在一个 Action 中匹配多个方法,提高开发效率。特别针对 actionName 为 role_ 开头的一系列操作。
Action中匹配多个方法使用(通配符*)
<action name="role_*" class="roleAction" method="{1}">

被折叠的 条评论
为什么被折叠?