Beware of Servlet 4.0 and above
You might be wasting your and user’s time
Servlet API is the most fundamental and enabling of the Java technologies used in Java Web applications. Any ordinary Java web application depends on Servlet API for handling HTTP requests and sessions. Prevailing today libraries such as Spring MVC or implementations of JAX-RS are built on top of Servlet API.