String mode = actionRequest.getParameter(PARM_MODE);
String managerURI = actionRequest.getParameter(PARM_MANAGER_URI);
String containerURI = actionRequest.getParameter(PARM_CONTAINER_URI);
if(managerURI != null) actionResponse.setRenderParameter(PARM_MANAGER_URI, managerURI);
if(containerURI != null) actionResponse.setRenderParameter(PARM_CONTAINER_URI, containerURI);
WebContainer webContainer = null;
String server = null;
if(containerURI != null) {
webContainer = PortletManager.getWebContainer(actionRequest, new AbstractName(URI.create(containerURI)));
server = getWebServerType(webContainer.getClass());
} else {
server = "unknown";
}
actionResponse.setRenderParameter(PARM_SERVER, server);
if(mode.equals("new")) {