annotate src/main/webapp/WEB-INF/web.xml @ 105:7417f5915181 default tip

check admin permission before changing permissions. Enum for typesafe actions.
author casties
date Fri, 10 Feb 2017 15:45:35 +0100
parents d22d01ba953a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
2 <web-app id="WebApp_ID" version="2.4"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
3 xmlns="http://java.sun.com/xml/ns/j2ee"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
6 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
18
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
7 <display-name>AnnotationManager-Restlet</display-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
8 <!-- Restletadapter -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
9 <servlet>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
10 <servlet-name>AnnotatorRestlet</servlet-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
11 <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
12 <!-- Application classname -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
13 <init-param>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
14 <param-name>org.restlet.application</param-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
15 <param-value>de.mpiwg.itgroup.annotations.restlet.AnnotatorRestlet</param-value>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
16 </init-param>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
17 <!-- Load this servlet at server startup time -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
18 <load-on-startup>1</load-on-startup>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
19 </servlet>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
20 <!-- Restletadapter -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
21 <servlet>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
22 <servlet-name>AnnotationStoreRestlet</servlet-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
23 <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
24 <!-- Application classname -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
25 <init-param>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
26 <param-name>org.restlet.application</param-name>
23
d22d01ba953a reorganised code for annotations and groups ui. work in progress.
casties
parents: 18
diff changeset
27 <param-value>de.mpiwg.itgroup.annotations.restlet.annotations_ui.AnnotationsUiRestlet</param-value>
18
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
28 </init-param>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
29 <!-- Load this servlet at server startup time -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
30 <load-on-startup>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
31 10
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
32 </load-on-startup>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
33 </servlet>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
34 <!-- Catchallrequests -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
35 <servlet-mapping>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
36 <servlet-name>AnnotatorRestlet</servlet-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
37 <url-pattern>/annotator/*</url-pattern>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
38 <!-- <url-pattern>/*</url-pattern> -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
39 </servlet-mapping>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
40 <servlet-mapping>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
41 <servlet-name>AnnotationStoreRestlet</servlet-name>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
42 <url-pattern>/annotations/*</url-pattern>
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
43 <!-- <url-pattern>/*</url-pattern> -->
aafa3884b2c4 new AnnotationStore restlet for HTML-UI.
casties
parents: 3
diff changeset
44 </servlet-mapping>
1
6556943c4fb9 include neo4j and restlet
casties
parents:
diff changeset
45 </web-app>