From ceb15c426f081e89608c31d625d71759aff5e072 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Mon, 26 Feb 2018 22:37:12 +0000 Subject: [PATCH] Sender aendern und DbApi --- 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