]> SALOME platform Git repositories - tools/siman.git/blob - WEB-INF/web.xml
Salome HOME
Copyrights update 2015.
[tools/siman.git] / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app id="WebApp_9" 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>S-SIMER</display-name>
8
9         <welcome-file-list>
10                 <welcome-file>index.jsp</welcome-file>
11         </welcome-file-list>
12
13         <filter>
14                 <filter-name>RequestContextFilter</filter-name>
15                 <filter-class>
16                         org.springframework.web.filter.RequestContextFilter
17                 </filter-class>
18         </filter>
19         <filter-mapping>
20                 <filter-name>RequestContextFilter</filter-name>
21                 <url-pattern>/*</url-pattern>
22         </filter-mapping>
23
24         <filter>
25                 <filter-name>struts2</filter-name>
26                 <filter-class>
27                         org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
28                 </filter-class>
29         </filter>
30
31         <filter-mapping>
32                 <filter-name>struts2</filter-name>
33                 <url-pattern>/*</url-pattern>
34         </filter-mapping>
35
36         <mime-mapping>
37                 <extension>brep</extension>
38                 <mime-type>application/geom</mime-type>
39         </mime-mapping>
40
41         <!-- ======================================================== -->
42         <!--  Link between ServletContext and Spring framework        -->
43         <!-- ======================================================== -->
44         <context-param>
45                 <param-name>contextConfigLocation</param-name>
46                 <param-value>classpath*:/spring/*</param-value>
47         </context-param>
48
49         <listener>
50                 <listener-class>
51                         org.springframework.web.context.ContextLoaderListener
52                 </listener-class>
53         </listener>
54         
55         <!-- ======================================================== -->
56         <!--  Struts2 and Tiles interaction                           -->
57         <!-- ======================================================== -->
58         
59         <context-param>
60                 <param-name>
61                         org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
62                 </param-name>
63                 <param-value>
64                         /WEB-INF/tiles/tiles-defs.xml
65                 </param-value>
66         </context-param>
67
68         <listener>
69                 <listener-class>
70                         org.apache.struts2.tiles.StrutsTilesListener
71                 </listener-class>
72         </listener>
73 </web-app>