annotate WebContent/WEB-INF/web.xml.template @ 0:77530be3c747

intial
author dwinter
date Tue, 22 Nov 2011 15:47:57 +0100
parents
children 6888ae3287b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dwinter
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
dwinter
parents:
diff changeset
2 <web-app id="WebApp_ID" version="2.4"
dwinter
parents:
diff changeset
3 xmlns="http://java.sun.com/xml/ns/j2ee"
dwinter
parents:
diff changeset
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
dwinter
parents:
diff changeset
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
dwinter
parents:
diff changeset
6 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
dwinter
parents:
diff changeset
7 <display-name>RESTfulJavaWebServices-Restlet</display-name>
dwinter
parents:
diff changeset
8 <!-- Application classname -->
dwinter
parents:
diff changeset
9 <context-param>
dwinter
parents:
diff changeset
10 <param-name>org.restlet.application</param-name>
dwinter
parents:
diff changeset
11 <param-value>de.mpiwg.itgroup.annotationManager.restlet.RestServer</param-value>
dwinter
parents:
diff changeset
12 </context-param>
dwinter
parents:
diff changeset
13
dwinter
parents:
diff changeset
14
dwinter
parents:
diff changeset
15 <context-param>
dwinter
parents:
diff changeset
16 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUser</param-name>
dwinter
parents:
diff changeset
17 <param-value>USERNAME</param-value>
dwinter
parents:
diff changeset
18 </context-param>
dwinter
parents:
diff changeset
19 <context-param>
dwinter
parents:
diff changeset
20 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUserPassword</param-name>
dwinter
parents:
diff changeset
21 <param-value>PASSWORD</param-value>
dwinter
parents:
diff changeset
22 </context-param>
dwinter
parents:
diff changeset
23 <!-- Restletadapter -->
dwinter
parents:
diff changeset
24 <servlet>
dwinter
parents:
diff changeset
25 <servlet-name>RestletServlet</servlet-name>
dwinter
parents:
diff changeset
26 <servlet-class>
dwinter
parents:
diff changeset
27 org.restlet.ext.servlet.ServerServlet
dwinter
parents:
diff changeset
28 </servlet-class>
dwinter
parents:
diff changeset
29 </servlet>
dwinter
parents:
diff changeset
30
dwinter
parents:
diff changeset
31 <!-- Catchallrequests -->
dwinter
parents:
diff changeset
32 <servlet-mapping>
dwinter
parents:
diff changeset
33 <servlet-name>RestletServlet</servlet-name>
dwinter
parents:
diff changeset
34 <url-pattern>/annotator/*</url-pattern>
dwinter
parents:
diff changeset
35 </servlet-mapping>
dwinter
parents:
diff changeset
36 </web-app>