摘要:
首先在Filter实现过滤器类中声明将要注入的Service对象。在过滤器初始化init()方法中,通过FilterConfig文件获取上下文对象。调用Spring中WebApplicationContextUtils通过get方法获取XmlWebApplicationContext对象,调用get 阅读全文
posted @ 2018-02-01 13:01
Fantastic_Clouds
阅读(758)
评论(0)
推荐(0)

浙公网安备 33010602011771号