This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See But you must if you want to make use of the Servlet API ie. For the same reason you'd import any other package in a Java file.
Hello, javax.servlet contains some base classes for servlets (like Servlet,Request, Response), javax.servlet.http contains classes specialized for handling http request (like HttpServlet that extends Servlet, HttpRequest..., HttpResponse...). Good Bye.