(RenderRequest)req.getAttribute(WebKeys.JAVAX_PORTLET_REQUEST);
RenderResponse renderResponse =
(RenderResponse)req.getAttribute(WebKeys.JAVAX_PORTLET_RESPONSE);
PortletRequestDispatcherImpl prd = (PortletRequestDispatcherImpl)
portletConfig.getPortletContext().getRequestDispatcher(
Constants.TEXT_HTML_DIR + uri);
try {
if (prd == null) {
_log.error(uri + " is not a valid include");
}
else {
prd.include(renderRequest, renderResponse, true);
}
}
catch (PortletException pe) {
Throwable cause = pe.getCause();