<?xml version="1.0" encoding="UTF-8"?>
|
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
|
<display-name>Nutzerverwaltung</display-name>
|
<context-param>
|
<param-name>dsname</param-name>
|
<param-value>jdbc/NewUserDB</param-value>
|
</context-param>
|
<context-param>
|
<param-name>digester</param-name>
|
<param-value>de.uhilger.um.TomcatDigester</param-value>
|
</context-param>
|
<filter>
|
<filter-name>NiceFilter</filter-name>
|
<filter-class>de.uhilger.um.web.NiceFilter</filter-class>
|
</filter>
|
<filter-mapping>
|
<filter-name>NiceFilter</filter-name>
|
<url-pattern>/svc/*</url-pattern>
|
</filter-mapping>
|
<listener>
|
<listener-class>de.uhilger.um.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.um.api</param-value>
|
</init-param>
|
</servlet>
|
<servlet>
|
<servlet-name>TestServlet</servlet-name>
|
<jsp-file>/show.jsp</jsp-file>
|
</servlet>
|
<servlet-mapping>
|
<servlet-name>TransitServlet</servlet-name>
|
<url-pattern>/api</url-pattern>
|
</servlet-mapping>
|
<servlet-mapping>
|
<servlet-name>TestServlet</servlet-name>
|
<url-pattern>/test/*</url-pattern>
|
</servlet-mapping>
|
<session-config>
|
<session-timeout>
|
30
|
</session-timeout>
|
</session-config>
|
</web-app>
|