From 74f15b5b543bd46ae8ff22b424f2675d08ce3838 Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Fri, 09 Mar 2018 18:37:15 +0000
Subject: [PATCH] Abspielen via PiRC auf den Server verlagert

---
 web/WEB-INF/web.xml |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml
index 573d8ad..55b2926 100644
--- a/web/WEB-INF/web.xml
+++ b/web/WEB-INF/web.xml
@@ -2,6 +2,25 @@
 <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
     <description>Webradio</description>
     <display-name>Radiozentrale</display-name>
+    <context-param>
+        <param-name>dsname</param-name>
+        <param-value>jdbc/RadioDB</param-value>
+    </context-param>
+    <listener>
+        <listener-class>de.uhilger.radiozentrale.web.Initialiser</listener-class>
+    </listener>
+    <servlet>
+        <servlet-name>TransitServlet</servlet-name>
+        <servlet-class>de.uhilger.transit.web.TransitServlet</servlet-class>
+        <init-param>
+            <param-name>klassen</param-name>
+            <param-value>de.uhilger.radiozentrale.api</param-value>
+        </init-param>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>TransitServlet</servlet-name>
+        <url-pattern>/api</url-pattern>
+    </servlet-mapping>
     <session-config>
         <session-timeout>
             30

--
Gitblit v1.9.3