servlet.jar vs servlet-api.jar
posted 12 years ago
Well, as I'm sure you know, the Servlet specification is just a loose collection of interfaces (like HttpServlet) and classes. So, ultimately, you need to have an implementation of those classes to actually run the darn thing (usually provided by your web container at runtime). The point is that sometimes, you won't have an implementation of the Servlet specification until runtime. Ergo the api jar.