SE452: The servlet API [9/24] ![]() ![]() ![]() |
Package javax.servlet
contains interfaces and abstract
classes for protocol independent generic servlets.
Package javax.servlet.http
contains interfaces and
abstract classes for servlets using the HTTP protocol.
servlet implementation extend the interfaces and classes in javax.servlet
In theory, servlets can be written for other protocols (like mail, IM, etc...)
A servlet engine provides implementation of these two packages... the Tomcat one is in "tomcat_home"/common/lib/servlet.jar
The JavaDocs are available at http://localhost:8080/tomcat-docs/servletapi/index.html once you have Tomcat running...