} catch (DomainException e){ ActionErrors actionErrors = new ActionErrors(); actionErrors.add("error", new ActionError(e.getMessage())); saveErrors(request, actionErrors); return mapping.findForward("error");
    public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm editExternalPersonForm = (DynaActionForm) form;        Integer externalPersonId = (Integer) editExternalPersonForm.get("externalPersonID");        String name = (String) editExternalPersonForm.get("name");        Integer institutionID = (Integer) editExternalPersonForm.get("institutionID");        String address = (String) editExternalPersonForm.get("address");        String phone = (String) editExternalPersonForm.get("phone");        String mobile = (String) editExternalPersonForm.get("mobile");        String homepage = (String) editExternalPersonForm.get("homepage");        String email = (String) editExternalPersonForm.get("email");        Object args[] = { externalPersonId, name, address, institutionID, phone, mobile, homepage,                email };        try {            ServiceUtils.executeService(userView, "EditExternalPerson", args);        } catch (ExistingServiceException e) {            getInstitutions(request);            throw new ExistingActionException(e.getMessage(), mapping.findForward("start"));        } catch (FenixServiceException e) {            getInstitutions(request);            throw new FenixActionException(e.getMessage(), mapping.findForward("start"));        }        return mapping.findForward("success");    }