<!-- 配置拦截器 -->
<interceptors>
<!-- 声明拦截器 -->
<interceptor name="checkPrivilege"
class="com.imgive.im.interceptor.CheckPrivilegeInterceptor"></interceptor>
<!-- 声明拦截器栈 -->
<interceptor-stack name="myStack">
<interceptor-ref name="checkPrivilege" />
<interceptor-ref name="defaultStack" />
</interceptor-stack>
</interceptors>
<!-- 默认本包中的所有action都要经过myStack这个拦截器栈 -->
<default-interceptor-ref name="myStack"></default-interceptor-ref>
<global-results>
<result name="input">/input.jsp</result>
<result name="loginUI">/WEB-INF/admin/loginLogoutAction/loginUI.jsp</result>
<result name="privilegeError">/privilegeError.jsp</result>
</global-results>