Project

General

Profile

Revision e5c1f174

IDe5c1f174f786e8f7b92ae9d3ac39c72560a768a4
Parent 683f6ce0
Child 9d398078

Added by Andreas Kohlbecker about 5 years ago

cleaning indent

View differences:

cdmlib-remote-webapp/src/main/webapp/WEB-INF/web.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
3
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5
      version="3.0"> 
6
      
7
    <!-- 
8
      NOTE: 
9
      For a detailed overview on the spring MVC and application context configuration and 
10
      bootstrapping of this web application see: 
11
      http://dev.e-taxonomy.eu/trac/wiki/cdmlib-remote-webappConfigurationAndBootstrapping
12
    -->
13
    
14
    <description>cdmlib-remote web-application instance</description>
15
    <display-name>cdmlib-remote-webapp</display-name>
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_3_0.xsd"
4
  version="3.0">
16 5

  
17
    <welcome-file-list>
18
        <welcome-file>index.html</welcome-file>
19
    </welcome-file-list>
6
  <!-- 
7
       NOTE: For a detailed overview on the spring MVC and application context 
8
       configuration and bootstrapping of this web application 
9
       see: http://dev.e-taxonomy.eu/trac/wiki/cdmlib-remote-webappConfigurationAndBootstrapping 
10
  -->
20 11

  
21
    <!-- Creates the Spring Container shared by all Servlets and Filters -->
22
    <context-param>
23
      <param-name>contextConfigLocation</param-name>
24
      <param-value>/WEB-INF/applicationContext.xml</param-value>
25
    </context-param>
26
    <listener>
27
        <!-- loads by default /WEB-INF/applicationContext.xml but this can be overridden above -->
28
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
29
    </listener>
12
  <description>cdmlib-remote web-application instance</description>
13
  <display-name>cdmlib-remote-webapp</display-name>
30 14

  
15
  <welcome-file-list>
16
    <welcome-file>index.html</welcome-file>
17
  </welcome-file-list>
31 18

  
32
    <servlet>
33
        <description>CDM Remote API</description>
34
        <servlet-name>cdmlib-remote</servlet-name>
35
        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
36
        <load-on-startup>1</load-on-startup>
37
        <!-- loads by default policy /WEB-INF/cdmlib-remote-servlet.xml  -->
38
    </servlet>
19
  <!-- Creates the Spring Container shared by all Servlets and Filters -->
20
  <context-param>
21
    <param-name>contextConfigLocation</param-name>
22
    <param-value>/WEB-INF/applicationContext.xml</param-value>
23
  </context-param>
24
  <listener>
25
    <!-- loads by default /WEB-INF/applicationContext.xml but this can be overridden above -->
26
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
27
  </listener>
39 28

  
40
    <servlet-mapping>
41
        <servlet-name>cdmlib-remote</servlet-name>
42
        <url-pattern>/</url-pattern>
43
    </servlet-mapping>
44
    
45 29

  
46
    <filter>
47
      <filter-name>charsetFilter</filter-name>
48
      <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
49
      <init-param>
50
        <param-name>encoding</param-name>
51
        <param-value>UTF-8</param-value>
52
      </init-param>
53
      <init-param>
54
        <param-name>forceEncoding</param-name>
55
        <param-value>true</param-value>
56
      </init-param>
57
    </filter>
58
    <filter-mapping>
59
      <filter-name>charsetFilter</filter-name>
60
      <url-pattern>/*</url-pattern>
61
    </filter-mapping>
30
  <servlet>
31
    <description>CDM Remote API</description>
32
    <servlet-name>cdmlib-remote</servlet-name>
33
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
34
    <load-on-startup>1</load-on-startup>
35
    <!-- loads by default policy /WEB-INF/cdmlib-remote-servlet.xml -->
36
  </servlet>
62 37

  
63
    <!-- Remoting Security -->
64
   
65
      <filter>
66
         <filter-name>springSecurityFilterChain</filter-name>
67
         <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
68
     </filter>
69
     <filter-mapping>
70
       <filter-name>springSecurityFilterChain</filter-name>
71
       <url-pattern>/*</url-pattern>
72
     </filter-mapping>
38
  <servlet-mapping>
39
    <servlet-name>cdmlib-remote</servlet-name>
40
    <url-pattern>/</url-pattern>
41
  </servlet-mapping>
42

  
43

  
44
  <filter>
45
    <filter-name>charsetFilter</filter-name>
46
    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
47
    <init-param>
48
      <param-name>encoding</param-name>
49
      <param-value>UTF-8</param-value>
50
    </init-param>
51
    <init-param>
52
      <param-name>forceEncoding</param-name>
53
      <param-value>true</param-value>
54
    </init-param>
55
  </filter>
56
  <filter-mapping>
57
    <filter-name>charsetFilter</filter-name>
58
    <url-pattern>/*</url-pattern>
59
  </filter-mapping>
60

  
61
  <!-- Remoting Security -->
62

  
63
  <filter>
64
    <filter-name>springSecurityFilterChain</filter-name>
65
    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
66
  </filter>
67
  <filter-mapping>
68
    <filter-name>springSecurityFilterChain</filter-name>
69
    <url-pattern>/*</url-pattern>
70
  </filter-mapping>
73 71

  
74 72
</web-app>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)