The Servlet Class Hierarchy

The Servlet API specification is produced by Sun Microsystems Inc., and a copy of the latest specification can be downloaded from http://java.sun.com/products/servlet/.

An HTTP servlet extends the javax.servlet.HttpServlet class, which itself extends javax.servlet.GenericServlet, as shown in Figure 12.4.

Figure 12.4. Servlet class hierarchy diagram.

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.