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>Geisa</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 | <!-- TAGLIBS --> |
---|
31 | <!--<taglib>--> |
---|
32 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
33 | <!--<taglib-location>/WEB-INF/tags/htmlJsp.tag</taglib-location>--> |
---|
34 | <!--</taglib>--> |
---|
35 | |
---|
36 | <!--<taglib>--> |
---|
37 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
38 | <!--<taglib-location>/WEB-INF/tags/htmlResourceJsp.tag</taglib-location>--> |
---|
39 | <!--</taglib>--> |
---|
40 | |
---|
41 | <!--<taglib>--> |
---|
42 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
43 | <!--<taglib-location>/WEB-INF/tags/htmlCss.tag</taglib-location>--> |
---|
44 | <!--</taglib>--> |
---|
45 | |
---|
46 | <!--<taglib>--> |
---|
47 | <!--<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>--> |
---|
48 | <!--<taglib-location>/WEB-INF/tags/htmlJs.tag</taglib-location>--> |
---|
49 | <!--</taglib>--> |
---|
50 | |
---|
51 | <!--SERVLETS --> |
---|
52 | <servlet> |
---|
53 | <servlet-name>eponge</servlet-name> |
---|
54 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
---|
55 | <init-param> |
---|
56 | <param-name>contextConfigLocation</param-name> |
---|
57 | <param-value> |
---|
58 | /WEB-INF/servlet-context.xml |
---|
59 | </param-value> |
---|
60 | </init-param> |
---|
61 | </servlet> |
---|
62 | |
---|
63 | <servlet-mapping> |
---|
64 | <servlet-name>eponge</servlet-name> |
---|
65 | <url-pattern>/project</url-pattern> |
---|
66 | </servlet-mapping> |
---|
67 | |
---|
68 | <servlet-mapping> |
---|
69 | <servlet-name>eponge</servlet-name> |
---|
70 | <url-pattern>/backoffice</url-pattern> |
---|
71 | </servlet-mapping> |
---|
72 | |
---|
73 | <session-config> |
---|
74 | <session-timeout>60</session-timeout> |
---|
75 | <!-- minute --> |
---|
76 | </session-config> |
---|
77 | |
---|
78 | </web-app> |
---|