PortletServletResponse portletServletRes =
new PortletServletResponse(
resImpl.getHttpServletResponse(), resImpl);
if (strutsURLEncoder) {
resImpl.setURLEncoder(new StrutsURLEncoder(
portletServletReq.getContextPath(),
(String)_portletCtx.getAttribute(Globals.SERVLET_KEY),
(com.liferay.portlet.PortletURLImpl)res.createRenderURL()));
}