PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/opennms-assemblies/http-remoting/src/main/webapp/WEB-INF/web.xml

https://github.com/ajakubo1/opennms
XML | 65 lines | 51 code | 10 blank | 4 comment | 0 complexity | a3358d1f99b60431a1ba8b4559f2be4b MD5 | raw file
 1<?xml version="1.0" encoding="ISO-8859-1"?>
 2<web-app id="opennms-remoting" version="2.4"
 3                 xmlns="http://java.sun.com/xml/ns/j2ee"
 4                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5                 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 6
 7  <display-name>opennms-remoting</display-name>
 8
 9  <!--  This is used by the Spring Log4jConfigListener <listener> below -->
10  <context-param>
11    <param-name>log4jConfigLocation</param-name>
12    <param-value>/WEB-INF/log4j.properties</param-value>
13  </context-param>
14
15  <!--  This is used by the Spring ContextLoaderListener <listener> below -->
16  <context-param>
17    <param-name>contextConfigLocation</param-name>
18    <param-value>
19        /WEB-INF/applicationContext-common.xml
20        /WEB-INF/applicationContext-spring-security.xml
21        /WEB-INF/applicationContext-svclayer.xml
22    </param-value>
23  </context-param>
24
25  <context-param>
26    <param-name>parentContextKey</param-name>
27    <param-value>pollerBackEndContext</param-value>
28  </context-param>
29
30  <listener>
31    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
32  </listener>
33
34  <filter>
35    <filter-name>springSecurityFilterChain</filter-name>
36    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
37  </filter>
38  <filter-mapping>
39    <filter-name>springSecurityFilterChain</filter-name>
40    <url-pattern>/*</url-pattern>
41  </filter-mapping>
42
43  <!-- servlet for HTTP remoting -->
44  <servlet>
45    <servlet-name>pollerBackEnd</servlet-name>
46    <servlet-class>org.springframework.web.context.support.HttpRequestHandlerServlet</servlet-class>
47    <load-on-startup>1</load-on-startup>
48  </servlet>
49
50  <!-- servlet for java webstart -->
51  <servlet>
52    <servlet-name>JnlpDownloadServlet</servlet-name>
53    <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
54  </servlet>
55
56  <servlet-mapping>
57    <servlet-name>pollerBackEnd</servlet-name>
58    <url-pattern>/pollerBackEnd</url-pattern>
59  </servlet-mapping>
60  <servlet-mapping>
61    <servlet-name>JnlpDownloadServlet</servlet-name>
62    <url-pattern>/webstart/*</url-pattern>
63  </servlet-mapping>
64
65</web-app>