The Servlet Class Hierarchy

The Servlet API specification is produced by Sun Microsystems Inc., and a copy of the latest specification can be found on their Web site (developer.java.sun.com).

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 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.