}
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);
}
}