拦截器不起作用 <interceptor-ref name="RegisterInterceptor" />只配这一个 试试! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼主你上面<interceptor name="RegisterInterceptor" class="com.accp.dao.util.GenericDaoSupport"></interceptor>这里你知道的拦截器是com.accp.dao.util.GenericDaoSupport这个类根本不是你的RegisterInterceptor 这个类 楼主对拦截的配置应该不是很清楚给你段例子<interceptors> <interceptor name="autherInterceptor" class="com.dev.web.interceptor.AutherInterceptor"/> <interceptor-stack name="customeStack"><!--自定义拦截器--> <interceptor-ref name="autherInterceptor"/><!--默认的拦截器--> <interceptor-ref name="defaultStack"/> </interceptor-stack></interceptors><default-interceptor-ref name="customeStack" /> 推荐一个没有地址栏、前进、后退等任何操作的浏览器 问问JSP提交后的问题 急! 求教:web页面通过按钮调用存储过程??? 散分了。。!求购Lomboz插件! web项目部署出了问题?希望各位高手们帮帮忙!加急哦! 提示这类错误是什么原因? tom2005(快乐着)请进 这问题怎样解决? 如何在J2EE中进行报表打印? JAVA 定时提醒 用户过多时SQL 查询过多 程序变卡 怎么办? 关于提交表单的问题
这里你知道的拦截器是com.accp.dao.util.GenericDaoSupport这个类根本不是你的RegisterInterceptor 这个类
给你段例子<interceptors>
<interceptor name="autherInterceptor" class="com.dev.web.interceptor.AutherInterceptor"/>
<interceptor-stack name="customeStack">
<!--自定义拦截器-->
<interceptor-ref name="autherInterceptor"/>
<!--默认的拦截器-->
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="customeStack" />