@Autowired in DelegatingFilterProxy
问题 I have the following issue: I'm developing a web-based application using Spring MVC 3. In my web.xml configuration I have two contexts (root-context.xml -Global Context - loaded by the ContextLoadListener and servlet-context.xml - for the DispatcherServlet). However in my configuration I need a filter which I have implemented using DelegatingFilterProxy, and configured as following: <filter> <filter-name>cheapigFilter</filter-name> <filter-class>org.springframework.web.filter