Mercurial > hg > AnnotationManagerN4J
annotate src/main/webapp/WEB-INF/web.xml @ 49:f30f42080711
first steps for authorization for annotations ui.
author | casties |
---|---|
date | Thu, 27 Sep 2012 12:39:15 +0200 |
parents | d22d01ba953a |
children |
rev | line source |
---|---|
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"> | |
18 | 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> | |
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 | 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> | |
1 | 45 </web-app> |