- 博客(0)
- 资源 (2)
- 收藏
- 关注
拦截器的验证
关于对用户的拦截验证。
<struts>
<constant name="struts.devMode" value="true" />
<package name="front" extends="struts-default" >
<!--
部署自定义拦截器!!
-->
<interceptors>
<interceptor name="custom" class="com.cvit.interceptor.CustomInterceptor" />
<interceptor-stack name="myStack">
<interceptor-ref name="defaultStack" />
<interceptor-ref name="custom" />
</interceptor-stack>
</interceptors>
<action name="test" class="com.cvit.avtion.TestAction">
<result>/MyJsp.jsp</result>
<!-- 应用自定义拦截器栈 -->
<interceptor-ref name="myStack" />
</action>
<action name="">
</action>
</package>
</struts>
2012-03-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人