blob: eb2c72ccae4adc641352b370375a42163e888f40 [file] [log] [blame]
bodmod8e7e6c2021-11-10 11:07:38 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!-- kopiert aus https://blog.dejavu.sk/registering-resources-and-providers-in-jersey-2/ , 09.12.19/FB -->
3<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
4 <servlet>
5 <servlet-name>GlemmServices mit Jersey REST</servlet-name>
6 <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
7 <init-param>
8 <param-name>jersey.config.server.provider.packages</param-name>
9 <param-value>de.korap.services</param-value>
10 </init-param>
11 <init-param>
12 <param-name>jersey.config.server.provider.classnames</param-name>
13 <param-value>de.korap.services</param-value>
14 </init-param>
15 <init-param>
16 <param-name>jersey.config.server.tracing</param-name>
17 <param-value>ALL</param-value>
18 </init-param>
19 <load-on-startup>1</load-on-startup>
20 </servlet>
21 <servlet-mapping>
22 <servlet-name>GlemmServices mit Jersey REST</servlet-name>
23 <url-pattern>/*</url-pattern>
24 </servlet-mapping>
25</web-app>