The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container. For version 4.0.1 and earlier, these classes and interfaces are described by the Java Servlet API Specification. For version 5.0.0 and later they are described by the Jakarta Servlet Specification.