导航

2012年10月25日

摘要: 很郁闷,使用拦截器有两种xml配置方式,第二种怎么都不拦截。终于在http://elf8848.iteye.com/blog/875830找到了问题所在。拦截器:com.zk.interceptors.MyInterceptor 实现了 HandlerInterceptor接口,可以拦截@RequestMapping注解的类和方法第一种方式 <mvc:interceptors> <mvc:interceptor> <mvc:mapping path="/**"/> <bean class="com.zk.intercept 阅读全文

posted @ 2012-10-25 17:35 曙光城邦 阅读(3494) 评论(0) 推荐(0) 编辑