1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <web-app xmlns=
"http://java.sun.com/xml/ns/javaee" xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
3 xsi:
schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
6 <display-name>SLC Web Application
</display-name>
8 <!-- SERVICE servlet -->
10 <servlet-name>slc-service
</servlet-name>
11 <servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
13 <param-name>contextClass
</param-name>
14 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
16 <load-on-startup>1</load-on-startup>
20 <servlet-name>slc-service
</servlet-name>
21 <url-pattern>*.service
</url-pattern>
26 <servlet-name>xslt
</servlet-name>
27 <servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
29 <param-name>contextClass
</param-name>
30 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
35 <servlet-name>xslt
</servlet-name>
36 <url-pattern>*.xslt
</url-pattern>
41 <servlet-name>doc
</servlet-name>
42 <servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
44 <param-name>contextClass
</param-name>
45 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
50 <servlet-name>doc
</servlet-name>
51 <url-pattern>*.xls
</url-pattern>
54 <servlet-name>doc
</servlet-name>
55 <url-pattern>*.pdf
</url-pattern>
58 <!-- PROVISIONING servlet -->
60 <servlet-name>provisioning
</servlet-name>
61 <servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
63 <param-name>contextClass
</param-name>
64 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
66 <load-on-startup>1</load-on-startup>
69 <servlet-name>provisioning
</servlet-name>
70 <url-pattern>/dist/*
</url-pattern>
75 <param-name>contextConfigLocation
</param-name>
76 <param-value>/WEB-INF/applicationContext.xml
</param-value>
80 <display-name>Spring Context
</display-name>
81 <listener-class>org.springframework.web.context.ContextLoaderListener
</listener-class>
84 <param-name>contextClass
</param-name>
85 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
90 <filter-name>springSecurityFilterChain
</filter-name>
91 <filter-class>org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
95 <filter-name>springSecurityFilterChain
</filter-name>
96 <url-pattern>/*
</url-pattern>
100 Log4j configContext loader config <listener>
101 <display-name>Log4j</display-name>
102 <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
103 </listener> <context-param>
104 <param-name>log4jConfigLocation</param-name>
105 <param-value>/WEB-INF/classes/log4j.properties</param-value>
106 </context-param> <context-param>
107 <param-name>log4jRefreshInterval</param-name>
108 <param-value>5000</param-value> </context-param>