Interface: javax.servlet.RequestDispatcher

  • public interface RequestDispatcher
Defines an object that receives requests from the client and sends them to any resource (such as a servlet, HTML file, or JSP file) on the server. The servlet container creates the RequestDispatcher object, which is used as a wrapper around a server resource located at a particular path or given by a particular name.

This interface is intended to wrap servlets, but a servlet container can create RequestDispatcher objects to wrap any type of resource.

Authors:
@author Various
See:
@see javax.servlet.ServletContext.getRequestDispatcher(java.lang.String)
@see javax.servlet.ServletContext.getNamedDispatcher(java.lang.String)
@see javax.servlet.ServletRequest.getRequestDispatcher(java.lang.String)

Methods