November 1998
Intermediate to advanced
526 pages
14h 38m
English
The
javax.servlet
package is the core of the Servlet API. It includes the basic
Servlet interface, which all servlets must
implement in one form or another, and an abstract
GenericServlet class for developing basic
servlets. This package also includes classes for communication with
the host server and client (ServletRequest and
ServletResponse) and communicating with the client
(ServletInputStream and
ServletOutputStream). The class hierarchy of the
javax.servlet package is shown in Figure 1.1. Servlets should confine themselves to the
classes in this package in situations where the underlying protocol
is unknown.

Figure A-1. The javax.servlet package