ulrich
2018-03-24 d166463aa463122d2387b05e8f4bfe82fe2ad104
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