From c980bb439a1685510b1b479669761a93f0d8c5b0 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Sat, 25 Feb 2017 17:32:26 +0000 Subject: [PATCH] Mustache Templates ausgelagert (noch in Arbeit) --- web/WEB-INF/web.xml | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 2a121af..466d6df 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -6,15 +6,6 @@ <param-name>fileBase</param-name> <param-value>daten</param-value> </context-param> - <filter> - <description>Inhalte ausgeben</description> - <filter-name>HomeFilter</filter-name> - <filter-class>de.uhilger.filecms.web.HomeFilter</filter-class> - </filter> - <filter-mapping> - <filter-name>HomeFilter</filter-name> - <url-pattern>/home/*</url-pattern> - </filter-mapping> <listener> <description>Der Initialiser setzt globale Variable fuer die Dateiverwaltung</description> <listener-class>de.uhilger.filecms.web.Initialiser</listener-class> @@ -43,6 +34,10 @@ <param-value>de.uhilger.filecms.pub</param-value> </init-param> </servlet> + <servlet> + <servlet-name>UploadeServlet</servlet-name> + <servlet-class>de.uhilger.filecms.api.UploadServlet</servlet-class> + </servlet> <servlet-mapping> <servlet-name>TransitRS</servlet-name> <url-pattern>/rpc/*</url-pattern> @@ -54,6 +49,10 @@ <servlet-mapping> <servlet-name>PublicTransit</servlet-name> <url-pattern>/pub</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>UploadeServlet</servlet-name> + <url-pattern>/api/upload</url-pattern> </servlet-mapping> <session-config> <session-timeout> @@ -81,6 +80,7 @@ <web-resource-collection> <web-resource-name>API</web-resource-name> <description>Programmschnittstelle</description> + <url-pattern>/api/*</url-pattern> <url-pattern>/rpc/*</url-pattern> <url-pattern>/svc/*</url-pattern> <url-pattern>/rpc</url-pattern> -- Gitblit v1.9.3