From b7910bcd54ccf93afd23f64b1dfa6df1565ba4f8 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Tue, 27 Dec 2016 18:41:12 +0000 Subject: [PATCH] App in Initialiser umbenannt --- web/WEB-INF/web.xml | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 3187293..954bd19 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -5,8 +5,20 @@ <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.App</listener-class> + <listener-class>de.uhilger.um.Initialiser</listener-class> </listener> <servlet> <servlet-name>TransitServlet</servlet-name> @@ -16,10 +28,18 @@ <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 -- Gitblit v1.9.3