<?xml version="1.0" encoding="UTF-8"?>
|
<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
|
</session-timeout>
|
</session-config>
|
</web-app>
|