public interface PortletRequestDispatcher
PortletRequestDispatcher interface defines an object that receives requests from the client and
sends them to the specified resources (such as a servlet, HTML file, or JSP file) on the server. The portlet
container creates the PortletRequestDispatcher object, which is used as a wrapper around a server
resource located at a particular path or given by a particular name.| Modifier and Type | Method and Description |
|---|---|
void |
include(RenderRequest request,
RenderResponse response)
Includes the content of a resource (servlet, JSP page, HTML file) in the response.
|
void include(RenderRequest request, RenderResponse response) throws PortletException, IOException
request - a RenderRequest object that contains the client requestresponse - a RenderResponse object that contains the render responsePortletException - if the included resource throws a ServletException, or other exceptions that are not
Runtime- or IOExceptions.IOException - if the included resource throws this exceptionCopyright © 2003-2018 GateIn. All Rights Reserved.