From ef09bfdbe63f5e5bd94a8118812d0f4ef28183ba Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Fri, 06 Apr 2018 16:15:51 +0000
Subject: [PATCH] Ermittlung des Datenverzeichnisses auf eine Relation zu catalina.base umgestellt und nach wbx-lib verschoben. Kontext fuer data wird nun selbsttaetig angelegt. Versionsnummer aus Referenz zu Moment.js entfernt.

---
 web/WEB-INF/web.xml |   42 +++++++++++++++++++++++++++++++-----------
 1 files changed, 31 insertions(+), 11 deletions(-)

diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml
index 2a121af..08423fd 100644
--- a/web/WEB-INF/web.xml
+++ b/web/WEB-INF/web.xml
@@ -3,18 +3,12 @@
     <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>
@@ -43,6 +37,18 @@
             <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>
+        <servlet-name>Feeder</servlet-name>
+        <servlet-class>de.uhilger.filecms.web.FeedServlet</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>TestServlet</servlet-name>
+        <servlet-class>de.uhilger.filecms.web.TestServlet</servlet-class>
+    </servlet>
     <servlet-mapping>
         <servlet-name>TransitRS</servlet-name>
         <url-pattern>/rpc/*</url-pattern>
@@ -55,6 +61,18 @@
         <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>
+    <servlet-mapping>
+        <servlet-name>Feeder</servlet-name>
+        <url-pattern>/feed/*</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>TestServlet</servlet-name>
+        <url-pattern>/test/*</url-pattern>
+    </servlet-mapping>
     <session-config>
         <session-timeout>
             30
@@ -63,6 +81,7 @@
     <welcome-file-list>
         <welcome-file>index.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htmi</welcome-file>
     </welcome-file-list>
     <security-constraint>
         <display-name>UI-Constraint</display-name>
@@ -81,6 +100,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