摘要: 1、@webfilter注解配置的filter中用到某个bean 自定义的filter需要实现filter接口,并重写init()、doFilter()、destroy()方法 因为spring框架是先加载filter类,再加载其他bean,所以,若在自定义filter中的bean采用自动装配方法( 阅读全文
posted @ 2019-08-23 11:54 thePacer 阅读(419) 评论(0) 推荐(0) 编辑