public final class RequestDispatcherWrapper extends Object implements javax.servlet.RequestDispatcher
Request dispatcher wrapper for setting attributes (e.g. it).| Constructor and Description |
|---|
RequestDispatcherWrapper(javax.servlet.RequestDispatcher dispatcher,
String basePath,
Viewable viewable)
Creates new
RequestDispatcherWrapper responsible for setting request attributes and forwarding the processing to
the given dispatcher. |
public RequestDispatcherWrapper(javax.servlet.RequestDispatcher dispatcher,
String basePath,
Viewable viewable)
RequestDispatcherWrapper responsible for setting request attributes and forwarding the processing to
the given dispatcher.dispatcher - dispatcher processing the request after all the request attributes were set.basePath - base path of all JSP set to request attribute.viewable - viewable to obtain model and resolving class from.public void forward(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
forward in interface javax.servlet.RequestDispatcherjavax.servlet.ServletExceptionIOExceptionpublic void include(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
include in interface javax.servlet.RequestDispatcherjavax.servlet.ServletExceptionIOExceptionCopyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.