From f826e7bf3a5a9044375f8a384459fbe3e31ee265 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 01 Jan 2021 15:16:17 +0000
Subject: [PATCH] MdServlet und ViewServlet wieder von DefaultServlet abgeleitet (evtl. noch umbauen wie das AdocServlet)

---
 src/de/uhilger/wbx/web/ViewServlet.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/wbx/web/ViewServlet.java b/src/de/uhilger/wbx/web/ViewServlet.java
index 0ef8485..1c92f6b 100644
--- a/src/de/uhilger/wbx/web/ViewServlet.java
+++ b/src/de/uhilger/wbx/web/ViewServlet.java
@@ -29,6 +29,7 @@
 import javax.servlet.http.HttpServlet;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
+import org.apache.catalina.servlets.DefaultServlet;
 
 /**
  * Das ViewServlet fügt dem DefaultServlet von Tomcat 
@@ -39,7 +40,7 @@
  * 
  * TODO: Stylesheets dynamisch einbinden
  */
-public class ViewServlet extends HttpServlet {
+public class ViewServlet extends DefaultServlet {
   
   private static final Logger logger = Logger.getLogger(ViewServlet.class.getName());
   private static final String HOME_CTX = "/home";

--
Gitblit v1.9.3