Package com.dotcms.repackage.javax.portlet

Examples of com.dotcms.repackage.javax.portlet.PortletRequestDispatcher


  }

  protected void include(String path, RenderRequest req, RenderResponse res)
    throws IOException, PortletException {
   
    PortletRequestDispatcher prd = null;
    if(useWEBINFDIR){
      prd =
        getPortletContext().getRequestDispatcher(
          "/WEB-INF" + path);
    }else{
    prd =
      getPortletContext().getRequestDispatcher(
        Constants.TEXT_HTML_DIR + path);
    }
    if (prd == null) {
      _log.error(path + " is not a valid include");
    }

    prd.include(req, res);

    if (_copyRequestParameters) {
      PortalUtil.clearRequestParameters(req);
    }
  }
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.javax.portlet.PortletRequestDispatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.