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>AnnotationManager-Restlet</display-name> |
---|
8 | <!-- Restletadapter --> |
---|
9 | <servlet> |
---|
10 | <servlet-name>AnnotatorRestlet</servlet-name> |
---|
11 | <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class> |
---|
12 | <!-- Application classname --> |
---|
13 | <init-param> |
---|
14 | <param-name>org.restlet.application</param-name> |
---|
15 | <param-value>de.mpiwg.itgroup.annotations.restlet.AnnotatorRestlet</param-value> |
---|
16 | </init-param> |
---|
17 | <!-- Load this servlet at server startup time --> |
---|
18 | <load-on-startup>1</load-on-startup> |
---|
19 | </servlet> |
---|
20 | <!-- Restletadapter --> |
---|
21 | <servlet> |
---|
22 | <servlet-name>AnnotationStoreRestlet</servlet-name> |
---|
23 | <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class> |
---|
24 | <!-- Application classname --> |
---|
25 | <init-param> |
---|
26 | <param-name>org.restlet.application</param-name> |
---|
27 | <param-value>de.mpiwg.itgroup.annotations.restlet.annotations_ui.AnnotationsUiRestlet</param-value> |
---|
28 | </init-param> |
---|
29 | <!-- Load this servlet at server startup time --> |
---|
30 | <load-on-startup> |
---|
31 | 10 |
---|
32 | </load-on-startup> |
---|
33 | </servlet> |
---|
34 | <!-- Catchallrequests --> |
---|
35 | <servlet-mapping> |
---|
36 | <servlet-name>AnnotatorRestlet</servlet-name> |
---|
37 | <url-pattern>/annotator/*</url-pattern> |
---|
38 | <!-- <url-pattern>/*</url-pattern> --> |
---|
39 | </servlet-mapping> |
---|
40 | <servlet-mapping> |
---|
41 | <servlet-name>AnnotationStoreRestlet</servlet-name> |
---|
42 | <url-pattern>/annotations/*</url-pattern> |
---|
43 | <!-- <url-pattern>/*</url-pattern> --> |
---|
44 | </servlet-mapping> |
---|
45 | </web-app> |
---|