comparison src/main/webapp/WEB-INF/web.xml @ 7:bc57f2660b0f

implementation of web service
author Jorge Urzua <jurzua@mpiwg-berlin.mpg.de>
date Fri, 12 Apr 2013 17:48:42 +0200
parents
children 9ce7979fd037
comparison
equal deleted inserted replaced
5:7d231e4e86e5 7:bc57f2660b0f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5 id="WebApp_ID" version="3.0">
6
7 <display-name>IndexMetaContextualizer</display-name>
8
9 <welcome-file-list>
10 <welcome-file>pages/index.jsp</welcome-file>
11 <!--
12 <welcome-file>index.html</welcome-file>
13 <welcome-file>index.htm</welcome-file>
14 <welcome-file>index.jsp</welcome-file>
15 <welcome-file>default.html</welcome-file>
16 <welcome-file>default.htm</welcome-file>
17 <welcome-file>default.jsp</welcome-file>
18 -->
19 </welcome-file-list>
20
21 <servlet>
22 <servlet-name>ws</servlet-name>
23 <servlet-class>de.mpiwg.indexmeta.web.servlet.JSONInterface</servlet-class>
24 </servlet>
25 <servlet-mapping>
26 <servlet-name>ws</servlet-name>
27 <url-pattern>/ws</url-pattern>
28 </servlet-mapping>
29
30
31 <servlet>
32 <servlet-name>Faces Servlet</servlet-name>
33 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
34 <load-on-startup>1</load-on-startup>
35 </servlet>
36 <servlet-mapping>
37 <servlet-name>Faces Servlet</servlet-name>
38 <url-pattern>*.xhtml</url-pattern>
39 <!-- <url-pattern>/faces/*</url-pattern> <url-pattern>/icefaces/*</url-pattern> -->
40 </servlet-mapping>
41 <context-param>
42 <description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>
43 <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
44 <param-value>server</param-value>
45 </context-param>
46 <context-param>
47 <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
48 <param-value>resources.application</param-value>
49 </context-param>
50 <listener>
51 <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
52 </listener>
53 <context-param>
54 <param-name>javax.faces.PROJECT_STAGE</param-name>
55 <param-value>Development</param-value>
56 </context-param>
57 <context-param>
58 <param-name>org.icefaces.mandatoryResourceConfiguration</param-name>
59 <param-value></param-value>
60 </context-param>
61 <context-param>
62 <param-name>org.icefaces.ace.theme</param-name>
63 <param-value>sam</param-value>
64 </context-param>
65 <context-param>
66 <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
67 <param-value>true</param-value>
68 </context-param>
69 <context-param>
70 <param-name>javax.faces.VALIDATE_EMPTY_FIELDS</param-name>
71 <param-value>false</param-value>
72 </context-param>
73 <context-param>
74 <description>Google Maps API key is required if gMap component is used. Sign up for an API key from http://code.google.com/apis/maps/signup.html</description>
75 <param-name>com.icesoft.faces.gmapKey</param-name>
76 <param-value>ABQIAAAADlu0ZiSTam64EKaCQr9eTRTOTuQNzJNXRlYRLknj4cQ89tFfpxTEqxQnVWL4k55OPICgF5_SOZE06A</param-value>
77 </context-param>
78
79 <servlet>
80 <servlet-name>Resource Servlet</servlet-name>
81 <servlet-class>com.icesoft.faces.webapp.CompatResourceServlet</servlet-class>
82 <load-on-startup>1</load-on-startup>
83 </servlet>
84
85 <servlet-mapping>
86 <servlet-name>Resource Servlet</servlet-name>
87 <url-pattern>/xmlhttp/*</url-pattern>
88 </servlet-mapping>
89 </web-app>