source: ether_2012/trunk/web/WEB-INF/web.xml

Last change on this file was 370, checked in by vmipsl, 12 years ago

clean <?com.medias.xml

File size: 1.8 KB
Line 
1<?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>Ether</display-name>
9
10    <welcome-file-list>  
11                <welcome-file>index.jsp</welcome-file>  
12    </welcome-file-list>
13      
14
15    <context-param>
16        <param-name>contextConfigLocation</param-name>
17        <param-value>
18            <!--classpath:dao-context.xml,-->
19            <!--classpath:service-context.xml,-->
20            <!--classpath:hibernate.cfg.xml,-->
21
22            classpath:json/json-context.xml
23        </param-value>
24    </context-param>
25
26    <listener>
27        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
28    </listener>
29
30    <!--SERVLETS -->
31    <servlet>
32        <servlet-name>eponge</servlet-name>
33        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
34        <init-param>
35            <param-name>contextConfigLocation</param-name>
36            <param-value>
37                /WEB-INF/servlet-context.xml
38            </param-value>
39        </init-param>
40    </servlet>
41
42    <servlet-mapping>
43        <servlet-name>eponge</servlet-name>
44        <url-pattern>/project</url-pattern>
45    </servlet-mapping>
46
47    <servlet-mapping>
48        <servlet-name>eponge</servlet-name>
49        <url-pattern>/backoffice</url-pattern>
50    </servlet-mapping>
51
52    <session-config>
53        <session-timeout>60</session-timeout>
54        <!-- minute -->
55    </session-config>
56
57</web-app>
Note: See TracBrowser for help on using the repository browser.