From 9350c960b07404690ed747ed7725e94313c629fb Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 20 Jan 2021 22:48:25 +0000
Subject: [PATCH] Upload und Bildbetrachtung fertig uebertragen

---
 web/META-INF/daten/www/WEB-INF/web.xml |   40 ++++++++++++++++++++++++++++++++--------
 1 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/web/META-INF/daten/www/WEB-INF/web.xml b/web/META-INF/daten/www/WEB-INF/web.xml
index 918ecba..8a30ef1 100644
--- a/web/META-INF/daten/www/WEB-INF/web.xml
+++ b/web/META-INF/daten/www/WEB-INF/web.xml
@@ -2,14 +2,6 @@
 <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">
     <description>Oeffentliches Verzeichnis der WebBox</description>
     <display-name>data</display-name>
-    <filter>
-        <filter-name>MarkdownFilter</filter-name>
-        <filter-class>de.uhilger.wbx.web.MarkdownFilter</filter-class>
-    </filter>
-    <filter-mapping>
-        <filter-name>MarkdownFilter</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
     <servlet>
         <servlet-name>view</servlet-name>
         <servlet-class>de.uhilger.wbx.web.ViewServlet</servlet-class>
@@ -30,6 +22,30 @@
         <servlet-name>feed</servlet-name>
         <servlet-class>de.uhilger.wbx.web.FeedServlet</servlet-class>
     </servlet>
+    <servlet>
+        <servlet-name>AdocServlet</servlet-name>
+        <servlet-class>de.uhilger.wbx.web.AdocServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+    </servlet>
+    <servlet>
+      <servlet-name>MarkdownServlet</servlet-name>
+      <servlet-class>de.uhilger.wbx.web.MdServlet</servlet-class>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>0</param-value>
+        </init-param>
+        <init-param>
+            <param-name>listings</param-name>
+            <param-value>false</param-value>
+        </init-param>
+    </servlet>
     <servlet-mapping>
         <servlet-name>view</servlet-name>
         <url-pattern>*.htmi</url-pattern>
@@ -45,6 +61,14 @@
       <servlet-name>feed</servlet-name>
       <url-pattern>*.rss</url-pattern>
     </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>AdocServlet</servlet-name>
+        <url-pattern>*.adoc</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+      <servlet-name>MarkdownServlet</servlet-name>
+      <url-pattern>*.md</url-pattern>
+    </servlet-mapping>    
     <mime-mapping>
         <extension>htmi</extension>
         <mime-type>text/html</mime-type>

--
Gitblit v1.9.3