}
}
// Create portal servlet request and response to wrap the original
// HTTP servlet request and response.
PortalServletRequest portalRequest = new PortalServletRequest(
(HttpServletRequest) pageContext.getRequest(), window);
PortalServletResponse portalResponse = new PortalServletResponse(
(HttpServletResponse) pageContext.getResponse());
// Retrieve the portlet container from servlet context.