From 691da2655a75cd1078595449591e1836e495b39a Mon Sep 17 00:00:00 2001
From: Ulrich <undisclosed>
Date: Thu, 16 Apr 2020 18:05:07 +0000
Subject: [PATCH] Asciidoctor Servlet in Deployment Descriptor von data und home Contexts hinzugefuegt

---
 web/META-INF/daten/home/WEB-INF/web.xml |   16 ++++++++++++++++
 web/META-INF/daten/www/WEB-INF/web.xml  |   16 ++++++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/web/META-INF/daten/home/WEB-INF/web.xml b/web/META-INF/daten/home/WEB-INF/web.xml
index 500a269..f1b1afd 100644
--- a/web/META-INF/daten/home/WEB-INF/web.xml
+++ b/web/META-INF/daten/home/WEB-INF/web.xml
@@ -26,6 +26,18 @@
         <servlet-name>TNServlet</servlet-name>
         <servlet-class>de.uhilger.wbx.web.TNServlet</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-mapping>
         <servlet-name>view</servlet-name>
         <url-pattern>*.htmi</url-pattern>
@@ -37,6 +49,10 @@
         <url-pattern>*.jpeg</url-pattern>
         <url-pattern>*.jpg</url-pattern>
     </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>AdocServlet</servlet-name>
+        <url-pattern>*.adoc</url-pattern>
+    </servlet-mapping>
     <mime-mapping>
         <extension>htmi</extension>
         <mime-type>text/html</mime-type>
diff --git a/web/META-INF/daten/www/WEB-INF/web.xml b/web/META-INF/daten/www/WEB-INF/web.xml
index 3ad37fd..2f98d03 100644
--- a/web/META-INF/daten/www/WEB-INF/web.xml
+++ b/web/META-INF/daten/www/WEB-INF/web.xml
@@ -22,6 +22,18 @@
         <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-mapping>
         <servlet-name>view</servlet-name>
         <url-pattern>*.htmi</url-pattern>
@@ -37,6 +49,10 @@
       <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>
     <mime-mapping>
         <extension>htmi</extension>
         <mime-type>text/html</mime-type>

--
Gitblit v1.9.3