类 ViewRendererServlet

  • 所有已实现的接口:
    Serializable, Servlet, ServletConfig

    public class ViewRendererServlet
    extends HttpServlet
    ViewRendererServlet is a bridge servlet, mainly for the Portlet MVC support.

    For usage with Portlets, this Servlet is necessary to force the portlet container to convert the PortletRequest to a ServletRequest, which it has to do when including a resource via the PortletRequestDispatcher. This allows for reuse of the entire Servlet-based View support even in a Portlet environment.

    The actual mapping of the bridge servlet is configurable in the DispatcherPortlet, via a "viewRendererUrl" property. The default is "/WEB-INF/servlet/view", which is just available for internal resource dispatching.

    从以下版本开始:
    2.0
    作者:
    William G. Thompson, Jr., John A. Lewis, Juergen Hoeller
    另请参阅:
    序列化表格