Java javax.servlet RequestDispatcher fields, constructors, methods, implement or subclass

Example usage for Java javax.servlet RequestDispatcher fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.servlet RequestDispatcher.

The text is from its open source code.

Implementation

javax.servlet.RequestDispatcher has the following implementations.
Click this link to see all its implementation.

Field

StringFORWARD_REQUEST_URI
The name of the request attribute under which the original request URI is made available to the target of a #forward(ServletRequest,ServletResponse) forward
StringFORWARD_CONTEXT_PATH
The name of the request attribute under which the original context path is made available to the target of a #forward(ServletRequest,ServletResponse) forward
StringFORWARD_PATH_INFO
The name of the request attribute under which the original path info is made available to the target of a #forward(ServletRequest,ServletResponse) forward
StringFORWARD_SERVLET_PATH
The name of the request attribute under which the original servlet path is made available to the target of a #forward(ServletRequest,ServletResponse) forward
StringFORWARD_QUERY_STRING
The name of the request attribute under which the original query string is made available to the target of a #forward(ServletRequest,ServletResponse) forward
StringINCLUDE_REQUEST_URI
The name of the request attribute under which the request URI of the target of an #include(ServletRequest,ServletResponse) include is stored
StringINCLUDE_CONTEXT_PATH
The name of the request attribute under which the context path of the target of an #include(ServletRequest,ServletResponse) include is stored
StringINCLUDE_PATH_INFO
The name of the request attribute under which the path info of the target of an #include(ServletRequest,ServletResponse) include is stored
StringINCLUDE_SERVLET_PATH
The name of the request attribute under which the servlet path of the target of an #include(ServletRequest,ServletResponse) include is stored
StringINCLUDE_QUERY_STRING
The name of the request attribute under which the query string of the target of an #include(ServletRequest,ServletResponse) include is stored
StringERROR_EXCEPTION
The name of the request attribute under which the exception object is propagated during an error dispatch
StringERROR_EXCEPTION_TYPE
The name of the request attribute under which the type of the exception object is propagated during an error dispatch
StringERROR_MESSAGE
The name of the request attribute under which the exception message is propagated during an error dispatch
StringERROR_REQUEST_URI
The name of the request attribute under which the request URI whose processing caused the error is propagated during an error dispatch
StringERROR_SERVLET_NAME
The name of the request attribute under which the name of the servlet in which the error occurred is propagated during an error dispatch
StringERROR_STATUS_CODE
The name of the request attribute under which the response status is propagated during an error dispatch

Constructor

Method

voidforward(ServletRequest request, ServletResponse response)
Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
ClassgetClass()
Returns the runtime class of this Object .
voidinclude(ServletRequest request, ServletResponse response)
Includes the content of a resource (servlet, JSP page, HTML file) in the response.
StringtoString()
Returns a string representation of the object.