I am transitioning a simple Servlet from using Java Servlet 4 to Jakarta Servlet 5.
I noticed my web.xml file has references to the 4 spec.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns = "http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version = "4.0">
</web-app>
- What does that fragment do anyways?
- How should I change those values to be appropriate the Jakarta Servlet 5?
I expect those javaee & 4 values should change.