if (e != null &&
e instanceof NoSuchDisplayException) {
req.removeAttribute(WebKeys.POLLS_DISPLAY);
PortletAction pa = (PortletAction)InstancePool.get(
SetupAction.class.getName());
return pa.render(mapping, form, config, req, res);
}
else {
req.setAttribute(PageContext.EXCEPTION, e);
return mapping.findForward(Constants.COMMON_ERROR);