<package name="manage" extends="json-default">
<interceptors>
<interceptor name="authorInterceptor" class="com.yuyi.interceptor.AuthorInterceptor"/>
<interceptor-stack name="authorDefault">
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="json"/>
<interceptor-ref name="authorInterceptor"/>
</interceptor-stack>
</interceptors>
<!-- 默认拦截器栈配置 -->
<default-interceptor-ref name="authorInterceptor"/>
......我想在json-default包中使用自定义拦截器,像上面这样定义有问题,但我不知道问题在什么地方,
请高手指点,在线等,10分钟之内解决,加10分
<interceptors>
<interceptor name="authorInterceptor" class="com.yuyi.interceptor.AuthorInterceptor"/>
<interceptor-stack name="authorDefault">
<interceptor-ref name="defaultStack"/>
<interceptor-ref name="json"/>
<interceptor-ref name="authorInterceptor"/>
</interceptor-stack>
</interceptors>
<!-- 默认拦截器栈配置 -->
<default-interceptor-ref name="authorInterceptor"/>
......我想在json-default包中使用自定义拦截器,像上面这样定义有问题,但我不知道问题在什么地方,
请高手指点,在线等,10分钟之内解决,加10分
解决方案 »
- 请问hibernate防止SQL注入的原理是怎么样的
- MYSQL 存储过程转 server 2005 存储过程写法
- byte[]数组存入数据库的问题
- sqlserver2005连接oracle时问题
- 最简单的提问?初入江湖,不懂江湖规矩,请多指教
- 最新版 java 报表工具 iReport 的使用
- 怎么写连连看?请给点思路...
- 为什么相同的WSDL在jbuilderX上解析通过, 在JBuild2006与Eclipse上就不行呢?
- java 数据机密问题
- spring component-scan扫描配置的小疑惑
- jsp + ajax 动态读取数据库信息
- 静态中文数据 插入数据库,结果显示乱码,高手来告诉我啊
你是好人
祝大家好用,人够10个就散分
貌似都好强了,都拦截器了