I’m not new to servlets. But I’m still curious: why javax.servlet package isn’t distributed on its own? Why I need some application server installed before I can compile my code?
I’m not new to servlets. But I’m still curious: why javax.servlet package isn’t distributed
Share
Short answer, it is distributed separately.
Servlets are a specification and an API. If you want the JAR, download it from the spec site Servlet Spec 3.0.
Obviously if you want to actually deploy your application, you’ll still need an implementation (i.e. a server).