After I add the following into web.xml to support spring security 3. the spring ioc + struts2 not work, when struts2 point to a bean, system can not search the bean definition in applicationContext.xml, it just shows me Class Not Defined
<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>
Please help! thanks in advance !