Skip to content

Commit

Permalink
Removed Webservlet annotation from DebugSSEServlet and DebugServlet a…
Browse files Browse the repository at this point in the history
…nd added <async-supported>true</async-supported> to these servlet definitions in web.xml
  • Loading branch information
Maarten Kroon committed Dec 24, 2021
1 parent 4076126 commit 9f4c378
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@
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;

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<servlet>
<servlet-name>DebugServlet</servlet-name>
<servlet-class>nl.armatiek.xslweb.saxon.debug.DebugServlet</servlet-class>
<async-supported>true</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>DebugServlet</servlet-name>
Expand Down

0 comments on commit 9f4c378

Please sign in to comment.