// Otherwise (actionWindowConfig == null), handle the render request.
else {
if (LOG.isDebugEnabled()) {
LOG.debug("Processing render request.");
}
PageConfig pageConfig = portalURL.getPageConfig(servletContext);
if (pageConfig == null)
{
String renderPath = (portalURL == null ? "" : portalURL.getRenderPath());
String msg = "PageConfig for render path [" + renderPath + "] could not be found.";
LOG.error(msg);
throw new ServletException(msg);
}
request.setAttribute(AttributeKeys.CURRENT_PAGE, pageConfig);
String uri = (pageConfig.getUri() != null)
? pageConfig.getUri() : DEFAULT_PAGE_URI;
if (LOG.isDebugEnabled()) {
LOG.debug("Dispatching to: " + uri);
}
RequestDispatcher dispatcher = request.getRequestDispatcher(uri);
dispatcher.forward(request, response);