The Jakarta Servlet API provides interfaces and classes for writing servlets for Java web applications.
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.1.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a simple servlet that responds with 'Hello, World!'
If using Java 11 or earlier, use Jakarta Servlet API 5.0 with javax.servlet imports, or upgrade to Java 17+.
No dependency data recorded yet.