스프링 보안을 지원하기 위해 web.xml에 다음을 추가했다. 3. 스프링 ioc + struts2가 작동하지 않는다. struts2가 콩을 가리킬 때 시스템이 수행 할 수있다. applicationContext.xml에서 빈 정의를 검색하지, 그냥 나를 보여줍니다 클래스왜 스프링 ioc + 스트럿츠 2는 스프링 보안 3을 추가 한 후에 작동하지 않는가?
<context-param>
<!-- Defines definition file for security setting. -->
<param-name>contextConfigLocation</param-name>
<param-value>classpath:app-security.xml</param-value>
</context-param>
<!-- Bootstraps the Spring root web application context before servlet initialization -->
<!-- The following code defines filter for Spring Security -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
정의되지 않음을 도와주세요! 미리 감사드립니다!
자세한 내용을 제공해야합니다. – lschin