O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 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 forwarding. When you include or forward to another resource, you must get the RequestDispatcher for that object (a service provided ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required