[AppleScript] 纯文本查看 复制代码
<!DOCTYPE web‐app PUBLIC
"‐//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web‐app_2_3.dtd" >
<web‐app>
<display‐name>Archetype Created Web Application</display‐name>
<filter>
<!‐‐
DelegatingFilterProxy用于整合第三方框架
整合Spring Security时过滤器的名称必须为springSecurityFilterChain,
否则会抛出NoSuchBeanDefinitionException异常
‐‐>
<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>
<servlet>
<servlet‐name>springmvc</servlet‐name>
<servlet‐
class>org.springframework.web.servlet.DispatcherServlet</servlet‐class>
<!‐‐ 指定加载的配置文件 ,通过参数contextConfigLocation加载 ‐‐>
<init‐param>
<param‐name>contextConfigLocation</param‐name>
<param‐value>classpath:spring‐security.xml</param‐value>
</init‐param>
<load‐on‐startup>1</load‐on‐startup>
</servlet>
<servlet‐mapping>
<servlet‐name>springmvc</servlet‐name>
<url‐pattern>*.do</url‐pattern>
</servlet‐mapping>
</web‐app>