Allow the use of Tomcat 10 using the jakarta namespace

pull/76/head
Eric Colinet 2024-12-10 15:01:15 +01:00
parent d0de8bb6e2
commit 3131b0f42c
4 changed files with 16 additions and 16 deletions

View File

@ -21,18 +21,18 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.7</java.version>
<java.version>17</java.version>
<jedis.version>3.0.1</jedis.version>
<commons-pool2.version>2.6.2</commons-pool2.version>
<slf4j-api.version>1.7.26</slf4j-api.version>
<maven-compiler.version>3.6.1</maven-compiler.version>
<source-java.version>1.7</source-java.version>
<source-java.version>17</source-java.version>
<target-java.version>${source-java.version}</target-java.version>
<!-- For local development properties begins.. -->
<tomcat.version>8.5.32</tomcat.version>
<tomcat.version>10.1.33</tomcat.version>
<!-- For local development properties end.. -->
</properties>

View File

@ -7,7 +7,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import tomcat.request.session.exception.BackendException;
import javax.servlet.ServletException;
import jakarta.servlet.ServletException;
import java.io.IOException;
/** author: Ranjith Manickam @ 12 Jul' 2018 */

View File

@ -17,8 +17,8 @@ import org.slf4j.LoggerFactory;
import tomcat.request.session.exception.BackendException;
import tomcat.request.session.model.SingleSignOnEntry;
import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
import jakarta.servlet.ServletException;
import jakarta.servlet.http.Cookie;
import java.io.IOException;
import java.security.Principal;
import java.util.Set;

View File

@ -4,12 +4,12 @@ import java.io.IOException;
import java.util.Date;
import java.util.Enumeration;
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 javax.servlet.http.HttpSession;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;
@WebServlet("/")
public class SessionManagerTest extends HttpServlet {
@ -44,7 +44,7 @@ public class SessionManagerTest extends HttpServlet {
/**
* method to send response
*
*
* @param response
* @param responseData
* @throws IOException
@ -57,7 +57,7 @@ public class SessionManagerTest extends HttpServlet {
/**
* method to get actions
*
*
* @param request
* @return
*/
@ -95,7 +95,7 @@ public class SessionManagerTest extends HttpServlet {
/**
* method to set session values
*
*
* @param session
* @return
*/
@ -108,7 +108,7 @@ public class SessionManagerTest extends HttpServlet {
/**
* method to get session values
*
*
* @param session
* @param action
* @return