注意:如果在某个action中又使用了另一个拦截器,此时默认的拦截器将失效,为了确保能够使用默认的拦截器,又需要添加其他拦截器时,可以在action中加上其他拦截器
3.2.3. 配置文件
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
class="com.perm.interceptor.PermissionsInterceptor" /> class="com.perm.action.UserAction" method="listAllUser"> 作者“wuchongchang的博客”