DynaActionForm degreeInfoForm = (DynaActionForm) form; InfoDegreeInfo infoDegreeInfo = new InfoDegreeInfo(); fillInfoDegreeInfo(degreeInfoForm, infoDegreeInfo);  Object[] args = { degreeCurricularPlanID, infoDegreeInfo };  try { ServiceManagerServiceFactory.executeService(userView, "EditDegreeInfoByDegreeCurricularPlanID", args); } catch (NotAuthorizedException e) { errors.add("notAuthorized", new ActionError("error.exception.notAuthorized2")); } catch (FenixServiceException e) { if (e.getMessage().equals("error.impossibleEditDegreeInfo")) { errors .add("impossibleEditDegreeInfo", new ActionError( "error.impossibleEditDegreeInfo")); } else { e.printStackTrace(); throw new FenixActionException(e); } } if (!errors.isEmpty()) { saveErrors(request, errors); return (new ActionForward(mapping.getInput())); }
RequestUtils.getAndSetStringToRequest(request, "degreeCurricularPlanID");
    public ActionForward editDegreeInformation(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException {        IUserView userView = SessionUtils.getUserView(request);        ActionErrors errors = new ActionErrors();        Integer degreeCurricularPlanID = new Integer(RequestUtils.getAndSetStringToRequest(request,                "degreeCurricularPlanID"));        RequestUtils.getAndSetStringToRequest(request, "info");        DynaActionForm degreeInfoForm = (DynaActionForm) form;        InfoDegreeInfo infoDegreeInfo = new InfoDegreeInfo();        fillInfoDegreeInfo(degreeInfoForm, infoDegreeInfo);        Object[] args = { degreeCurricularPlanID, infoDegreeInfo };        try {            ServiceManagerServiceFactory.executeService(userView,                    "EditDegreeInfoByDegreeCurricularPlanID", args);        } catch (NotAuthorizedException e) {            errors.add("notAuthorized", new ActionError("error.exception.notAuthorized2"));        } catch (FenixServiceException e) {            if (e.getMessage().equals("error.impossibleEditDegreeInfo")) {                errors                        .add("impossibleEditDegreeInfo", new ActionError(                                "error.impossibleEditDegreeInfo"));            } else {                e.printStackTrace();                throw new FenixActionException(e);            }        }        if (!errors.isEmpty()) {            saveErrors(request, errors);            return (new ActionForward(mapping.getInput()));        }        return mapping.findForward("editOK");    }