SRV.8.2 Using a Request Dispatcher


To use a request dispatcher, a developer needs to call either the include or forward method of the RequestDispatcher interface using the request and response arguments that were passed in via the service method of the Servlet interface.

The container provider must ensure that the dispatch to a target servlet occurs in the same thread of the same VM as the original request.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net