needsFlushAfterForward = true;
((MimeResponse)response).resetBuffer();
}
}
PortletRequestContext requestContext = (PortletRequestContext)request.getAttribute(PortletInvokerService.REQUEST_CONTEXT);
HttpSession session = null;
// PLT.10.4.3. Proxied session is created and passed if javax.portlet.servletDefaultSessionScope == PORTLET_SCOPE
if (isPortletScopeSessionConfigured(requestContext))
{
String portletWindowId = requestContext.getPortletWindow().getId().getStringId();
session = ServletPortletSessionProxy.createProxy(requestContext.getServletRequest(), portletWindowId);
}
HttpServletPortletRequestWrapper req = new HttpServletPortletRequestWrapper(requestContext.getServletRequest(),
requestContext.getServletContext(),
session,
request,
included,
namedDispatch);
HttpServletPortletResponseWrapper res = new HttpServletPortletResponseWrapper(requestContext.getServletResponse(),
request,
response,
included);
try
{
request.setAttribute(PortletInvokerService.PORTLET_CONFIG, requestContext.getPortletConfig());
request.setAttribute(PortletInvokerService.PORTLET_REQUEST, request);
request.setAttribute(PortletInvokerService.PORTLET_RESPONSE, response);
if (!included && req.isForwardingPossible())
{