From 9f4c37838e430674ea5ba9fff06f97255a14377f Mon Sep 17 00:00:00 2001 From: Maarten Kroon Date: Fri, 24 Dec 2021 12:55:56 +0100 Subject: [PATCH] Removed Webservlet annotation from DebugSSEServlet and DebugServlet and added true to these servlet definitions in web.xml --- .../java/nl/armatiek/xslweb/saxon/debug/DebugSSEServlet.java | 3 +-- src/main/java/nl/armatiek/xslweb/saxon/debug/DebugServlet.java | 3 +-- src/main/webapp/WEB-INF/web.xml | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugSSEServlet.java b/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugSSEServlet.java index 6a9b4cf7..14a6d682 100644 --- a/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugSSEServlet.java +++ b/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugSSEServlet.java @@ -19,7 +19,6 @@ import java.io.IOException; import javax.servlet.ServletException; -import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -27,7 +26,7 @@ import info.macias.sse.servlet3.ServletEventTarget; import nl.armatiek.xslweb.configuration.Context; -@WebServlet(asyncSupported = true) +// @WebServlet(asyncSupported = true) public class DebugSSEServlet extends HttpServlet { private static final long serialVersionUID = 1L; diff --git a/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugServlet.java b/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugServlet.java index 44003268..78e5154d 100644 --- a/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugServlet.java +++ b/src/main/java/nl/armatiek/xslweb/saxon/debug/DebugServlet.java @@ -25,7 +25,6 @@ import java.util.Comparator; import javax.servlet.ServletException; -import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -38,7 +37,7 @@ import nl.armatiek.xslweb.configuration.Context; -@WebServlet(asyncSupported = true) +// @WebServlet(asyncSupported = true) public class DebugServlet extends HttpServlet { private static final long serialVersionUID = 1L; diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 8997eedb..6ac76b7e 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -89,6 +89,7 @@ DebugServlet nl.armatiek.xslweb.saxon.debug.DebugServlet + true DebugServlet