PageRenderTime 42ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/src/docroot/WEB-INF/web.xml

http://github.com/t11e/discovery_datatool
XML | 50 lines | 45 code | 5 blank | 0 comment | 0 complexity | 222b55367439cc08e92cbd77ca87ec1c MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<web-app
 3  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4  xmlns="http://java.sun.com/xml/ns/javaee"
 5  xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 6  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
 7    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 8  id="WebApp_ID"
 9  version="2.5">
10
11  <display-name>Discovery Data Tool</display-name>
12
13  <listener>
14    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
15  </listener>
16
17  <servlet>
18    <servlet-name>static</servlet-name>
19    <servlet-class>net.balusc.webapp.FileServlet</servlet-class>
20    <init-param>
21      <param-name>basePath</param-name>
22      <param-value>/</param-value>
23    </init-param>
24    <load-on-startup>1</load-on-startup>
25  </servlet>
26  <servlet>
27    <servlet-name>springapp</servlet-name>
28    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
29    <load-on-startup>2</load-on-startup>
30  </servlet>
31
32  <filter>
33    <filter-name>springSecurityFilterChain</filter-name>
34    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
35  </filter>
36  <filter-mapping>
37    <filter-name>springSecurityFilterChain</filter-name>
38    <url-pattern>/*</url-pattern>
39  </filter-mapping>
40
41  <servlet-mapping>
42    <servlet-name>static</servlet-name>
43    <url-pattern>/static/*</url-pattern>
44    <url-pattern>/favicon.ico</url-pattern>
45  </servlet-mapping>
46  <servlet-mapping>
47    <servlet-name>springapp</servlet-name>
48    <url-pattern>/</url-pattern>
49  </servlet-mapping>
50</web-app>