From 5ed7d873b775130c4833b9777d02b4c560ced377 Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Wed, 05 Apr 2017 10:54:33 +0000
Subject: [PATCH] DB-Konsole ins Menue aufgenommen

---
 web/WEB-INF/web.xml |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml
index 2a121af..9670d51 100644
--- a/web/WEB-INF/web.xml
+++ b/web/WEB-INF/web.xml
@@ -3,21 +3,15 @@
     <description>Dateiverwaltung fuer die WebBox</description>
     <display-name>file-cms</display-name>
     <context-param>
-        <param-name>fileBase</param-name>
-        <param-value>daten</param-value>
+        <description>Hier kann eine feste Pfadangabe fuer das Datenverzeichnis eingetragen werden. 
+          Bleibt der Eintrag leer oder wird er ganz weggelassen, wird ein hart 
+          kodierter Pfad fuer die WebBox verwendet.</description>
+        <param-name>datenAblage</param-name>
+        <param-value> </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>
+        <listener-class>de.uhilger.wbx.web.Initialiser</listener-class>
     </listener>
     <servlet>
         <servlet-name>TransitRS</servlet-name>
@@ -43,6 +37,10 @@
             <param-value>de.uhilger.filecms.pub</param-value>
         </init-param>
     </servlet>
+    <servlet>
+        <servlet-name>UploadeServlet</servlet-name>
+        <servlet-class>de.uhilger.filecms.web.UploadServlet</servlet-class>
+    </servlet>
     <servlet-mapping>
         <servlet-name>TransitRS</servlet-name>
         <url-pattern>/rpc/*</url-pattern>
@@ -54,6 +52,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 +83,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