Dateiverwaltung für die WebBox
ulrich
2021-01-17 96a10fcfb1a651ca96960fb9793e1761d3dc16e6
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>
@@ -26,6 +18,34 @@
        <servlet-name>TNServlet</servlet-name>
        <servlet-class>de.uhilger.wbx.web.TNServlet</servlet-class>
    </servlet>
    <servlet>
        <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>
@@ -37,8 +57,24 @@
        <url-pattern>*.jpeg</url-pattern>
        <url-pattern>*.jpg</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <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>
    </mime-mapping>
    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htmi</welcome-file>
    </welcome-file-list>
</web-app>