摘要: 在监听器启动之前得先加载spring-bean,所以注解在监听器里是不能用的。 可以通过下面的方法获取需要的bean 阅读全文
posted @ 2016-05-23 16:17 sz_zzm 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 是用<mvc:interceptors>报错 代码: 把http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd改成http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd 阅读全文
posted @ 2016-05-23 16:08 sz_zzm 阅读(8248) 评论(1) 推荐(0) 编辑