Mercurial > hg > AnnotationManager
comparison WebContent/WEB-INF/web.xml.template @ 0:77530be3c747
intial
author | dwinter |
---|---|
date | Tue, 22 Nov 2011 15:47:57 +0100 |
parents | |
children | 6888ae3287b8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:77530be3c747 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <web-app id="WebApp_ID" version="2.4" | |
3 xmlns="http://java.sun.com/xml/ns/j2ee" | |
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | |
6 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | |
7 <display-name>RESTfulJavaWebServices-Restlet</display-name> | |
8 <!-- Application classname --> | |
9 <context-param> | |
10 <param-name>org.restlet.application</param-name> | |
11 <param-value>de.mpiwg.itgroup.annotationManager.restlet.RestServer</param-value> | |
12 </context-param> | |
13 | |
14 | |
15 <context-param> | |
16 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUser</param-name> | |
17 <param-value>USERNAME</param-value> | |
18 </context-param> | |
19 <context-param> | |
20 <param-name>de.mpiwg.itgroup.annotationManager.virtuoso.tripleStoreUserPassword</param-name> | |
21 <param-value>PASSWORD</param-value> | |
22 </context-param> | |
23 <!-- Restletadapter --> | |
24 <servlet> | |
25 <servlet-name>RestletServlet</servlet-name> | |
26 <servlet-class> | |
27 org.restlet.ext.servlet.ServerServlet | |
28 </servlet-class> | |
29 </servlet> | |
30 | |
31 <!-- Catchallrequests --> | |
32 <servlet-mapping> | |
33 <servlet-name>RestletServlet</servlet-name> | |
34 <url-pattern>/annotator/*</url-pattern> | |
35 </servlet-mapping> | |
36 </web-app> |