Dateiverwaltung für die WebBox
ulrich
2020-06-25 17727f11c12bd7176af946bb440d509cb558ac22
commit | author | age
02f7b1 1 <?xml version="1.0" encoding="UTF-8"?>
U 2 <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">
3     <description>Benutzerverzeichnis der WebBox</description>
4     <display-name>home</display-name>
5     <filter>
6         <filter-name>HomeFilter</filter-name>
7         <filter-class>de.uhilger.wbx.web.HomeFilter</filter-class>
8     </filter>
9     <filter-mapping>
10         <filter-name>HomeFilter</filter-name>
11         <url-pattern>/*</url-pattern>
12     </filter-mapping>
13     <servlet>
14         <servlet-name>view</servlet-name>
15         <servlet-class>de.uhilger.wbx.web.ViewServlet</servlet-class>
16         <init-param>
17             <param-name>debug</param-name>
18             <param-value>0</param-value>
19         </init-param>
20         <init-param>
21             <param-name>listings</param-name>
22             <param-value>false</param-value>
23         </init-param>
24     </servlet>
25     <servlet>
26         <servlet-name>TNServlet</servlet-name>
27         <servlet-class>de.uhilger.wbx.web.TNServlet</servlet-class>
28     </servlet>
691da2 29     <servlet>
U 30         <servlet-name>AdocServlet</servlet-name>
31         <servlet-class>de.uhilger.wbx.web.AdocServlet</servlet-class>
32         <init-param>
33             <param-name>debug</param-name>
34             <param-value>0</param-value>
35         </init-param>
36         <init-param>
37             <param-name>listings</param-name>
38             <param-value>false</param-value>
39         </init-param>
40     </servlet>
f9ce7f 41     <servlet>
U 42       <servlet-name>MarkdownServlet</servlet-name>
584d43 43       <servlet-class>de.uhilger.wbx.web.MdServlet</servlet-class>
f9ce7f 44         <init-param>
U 45             <param-name>debug</param-name>
46             <param-value>0</param-value>
47         </init-param>
48         <init-param>
49             <param-name>listings</param-name>
50             <param-value>false</param-value>
51         </init-param>
52     </servlet>
02f7b1 53     <servlet-mapping>
U 54         <servlet-name>view</servlet-name>
55         <url-pattern>*.htmi</url-pattern>
56     </servlet-mapping>
57     <servlet-mapping>
58         <servlet-name>TNServlet</servlet-name>
59         <url-pattern>*.png</url-pattern>
60         <url-pattern>*.gif</url-pattern>
61         <url-pattern>*.jpeg</url-pattern>
62         <url-pattern>*.jpg</url-pattern>
63     </servlet-mapping>
691da2 64     <servlet-mapping>
U 65         <servlet-name>AdocServlet</servlet-name>
66         <url-pattern>*.adoc</url-pattern>
67     </servlet-mapping>
f9ce7f 68     <servlet-mapping>
U 69       <servlet-name>MarkdownServlet</servlet-name>
70       <url-pattern>*.md</url-pattern>
71     </servlet-mapping>    
02f7b1 72     <mime-mapping>
U 73         <extension>htmi</extension>
74         <mime-type>text/html</mime-type>
75     </mime-mapping>
76 </web-app>