source: ether_ndacc/trunk/web/WEB-INF/web.xml @ 204

Last change on this file since 204 was 204, checked in by vmipsl, 13 years ago

[Internationalisation]

File size: 2.8 KB
Line 
1<?com.medias.xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3        "http://java.sun.com/dtd/web-app_2_3.dtd">
4<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
5         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
7
8    <display-name>NDACC</display-name>
9
10    <welcome-file-list>  
11        <welcome-file>index.jsp</welcome-file>  
12    </welcome-file-list>
13      
14    <context-param>
15        <param-name>contextConfigLocation</param-name>
16        <param-value>
17            /WEB-INF/classes/dao-context.xml,
18            /WEB-INF/classes/service-context.xml,
19            /WEB-INF/classes/hibernate.cfg.xml
20        </param-value>
21    </context-param>
22
23    <listener>
24        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
25    </listener>
26
27    <!-- TAGLIBS -->
28    <!--<taglib>-->
29    <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>-->
30    <!--<taglib-location>/WEB-INF/tags/htmlJsp.tag</taglib-location>-->
31    <!--</taglib>-->
32
33    <!--<taglib>-->
34    <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>-->
35    <!--<taglib-location>/WEB-INF/tags/htmlResourceJsp.tag</taglib-location>-->
36    <!--</taglib>-->
37
38    <!--<taglib>-->
39    <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>-->
40    <!--<taglib-location>/WEB-INF/tags/htmlCss.tag</taglib-location>-->
41    <!--</taglib>-->
42
43    <!--<taglib>-->
44    <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>-->
45    <!--<taglib-location>/WEB-INF/tags/htmlJs.tag</taglib-location>-->
46    <!--</taglib>-->
47
48    <!--SERVLETS -->
49    <servlet>
50        <servlet-name>instrument</servlet-name>
51        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
52        <init-param>
53            <param-name>contextConfigLocation</param-name>
54            <param-value>
55                /WEB-INF/servlet-context.xml
56            </param-value>
57        </init-param>
58    </servlet>
59
60    <servlet-mapping>
61        <servlet-name>instrument</servlet-name>
62        <url-pattern>/instrument</url-pattern>
63    </servlet-mapping>
64
65
66    <servlet>
67        <servlet-name>station</servlet-name>
68        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
69        <init-param>
70            <param-name>contextConfigLocation</param-name>
71            <param-value>
72                /WEB-INF/servlet-context.xml
73            </param-value>
74        </init-param>
75    </servlet>
76
77    <servlet-mapping>
78        <servlet-name>station</servlet-name>
79        <url-pattern>/station</url-pattern>
80    </servlet-mapping>
81
82    <session-config>
83        <session-timeout>60</session-timeout>
84        <!-- minute -->
85    </session-config>
86
87</web-app>
Note: See TracBrowser for help on using the repository browser.