Appendix B. Servlet API Reference

The javax.servlet API

The javax.servlet API covers most of the basic features that any servlet needs. It is protocol-independent, allowing for future expansion into new protocols such as the Wireless Application Protocol (WAP). The HTTP-specific servlet features are provided by a separate javax.servlet.http package.

Most of the commonly used items in this API are defined as interfaces and not as concrete classes. Each servlet engine has the flexibility to implement these interfaces as it sees fit.

Interfaces

RequestDispatcher

The RequestDispatcher interface is the entryway for calling another servlet, JSP or other Web resource, either by inclusion or by ...

Get Special Edition Using Java™ Server Pages and Servlets 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.