(no commit message)
[cdmlib.git] / cdmlib-remote / src / main / webapp / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
5 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
6 <description>EDIT CDM Community Server</description>
7 <display-name>CDM Community Server</display-name>
8
9 <listener>
10 <listener-class>
11 org.springframework.web.context.ContextLoaderListener
12 <!-- defaults to /WEB-INF/applicationContext.xml -->
13 </listener-class>
14 </listener>
15
16 <servlet>
17 <description>CDM Remote REST API</description>
18 <servlet-name>cdmrest</servlet-name>
19 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
20 <!--
21 <init-param>
22 <param-name>logVerbosityLevel</param-name>
23 <param-value>DEBUG</param-value>
24 </init-param>
25 -->
26 <load-on-startup>2</load-on-startup>
27 </servlet>
28 <servlet-mapping>
29 <servlet-name>cdmrest</servlet-name>
30 <url-pattern>*.htm</url-pattern>
31 </servlet-mapping>
32
33
34 <welcome-file-list>
35 <welcome-file>index.jsp</welcome-file>
36 </welcome-file-list>
37
38 </web-app>