49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd
|
||
|
http://xmlns.jcp.org/xml/ns/javaee "
|
||
|
version="3.1">
|
||
|
|
||
|
<context-param>
|
||
|
<param-name>log4jConfigLocation</param-name>
|
||
|
<param-value>/WEB-INF/log4j.properties</param-value>
|
||
|
</context-param>
|
||
|
<context-param>
|
||
|
<param-name>log4jRefreshInterval</param-name>
|
||
|
<param-value>1000</param-value>
|
||
|
</context-param>
|
||
|
<context-param>
|
||
|
<param-name>log4jExposeWebAppRoot</param-name>
|
||
|
<param-value>false</param-value>
|
||
|
</context-param>
|
||
|
<listener>
|
||
|
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
||
|
</listener>
|
||
|
|
||
|
|
||
|
<listener>
|
||
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||
|
</listener>
|
||
|
|
||
|
<context-param>
|
||
|
<param-name>contextConfigLocation</param-name>
|
||
|
<param-value>/WEB-INF/applicationContext.xml
|
||
|
</param-value>
|
||
|
</context-param>
|
||
|
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>spring</servlet-name>
|
||
|
<servlet-class>
|
||
|
org.springframework.web.servlet.DispatcherServlet
|
||
|
</servlet-class>
|
||
|
<load-on-startup>1</load-on-startup>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>spring</servlet-name>
|
||
|
<url-pattern>/</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
</web-app>
|