0
|
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>
|
|
12 de.mpiwg.dwinter.fulltextSearchServer.RestServer</param-value>
|
|
13 </context-param>
|
|
14 <context-param>
|
|
15 <param-name>de.mpwig.dwinter.fulltextSearchServer.lineIndex</param-name>
|
|
16 <param-value>/Volumes/data/indexLibcollLines</param-value>
|
|
17 </context-param>
|
|
18 <context-param>
|
|
19 <param-name>de.mpwig.dwinter.fulltextSearchServer.docIndex</param-name>
|
|
20 <param-value>/Volumes/data/indexLibcollDocs</param-value>
|
|
21 </context-param>
|
|
22 <context-param>
|
|
23 <param-name>de.mpwig.dwinter.digilibTools.digiviewBasicString</param-name>
|
|
24 <param-value>http://libcoll.mpiwg-berlin.mpg.de/libview2?mode=filepath&url=%s&mk=%s</param-value>
|
|
25 </context-param>
|
|
26 <!--
|
|
27 <context-param>
|
|
28 <param-name>de.mpwig.dwinter.digilibTools.digiviewBasicString</param-name>
|
|
29 <param-value>http://vlp.mpiwg-berlin.mpg.de/library/data/foxridgePath2vlp?url=%s&mk=%s</param-value>
|
|
30 </context-param>
|
|
31 -->
|
|
32 <!-- Restletadapter -->
|
|
33 <servlet>
|
|
34 <servlet-name>RestletServlet</servlet-name>
|
|
35 <servlet-class>
|
|
36 org.restlet.ext.servlet.ServerServlet
|
|
37 </servlet-class>
|
|
38 </servlet>
|
|
39
|
|
40 <!-- Catchallrequests -->
|
|
41 <servlet-mapping>
|
|
42 <servlet-name>RestletServlet</servlet-name>
|
|
43 <url-pattern>/*</url-pattern>
|
|
44 </servlet-mapping>
|
|
45 </web-app> |