1
|
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">
|
3
|
7 <display-name>AnnotationManager-Restlet</display-name>
|
1
|
8 <!-- Application classname -->
|
|
9 <context-param>
|
|
10 <param-name>org.restlet.application</param-name>
|
|
11 <param-value>de.mpiwg.itgroup.annotations.restlet.RestServer</param-value>
|
|
12 </context-param>
|
|
13 <!-- Restletadapter -->
|
|
14 <servlet>
|
|
15 <servlet-name>RestletServlet</servlet-name>
|
|
16 <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
|
|
17 </servlet>
|
|
18 <!-- Catchallrequests -->
|
|
19 <servlet-mapping>
|
|
20 <servlet-name>RestletServlet</servlet-name>
|
|
21 <!-- <url-pattern>/annotator/*</url-pattern> -->
|
|
22 <url-pattern>/*</url-pattern>
|
|
23 </servlet-mapping>
|
|
24 </web-app> |