public ActionForward showAccessRequirements(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception {  Integer degreeId = getFromRequest("degreeID", request); request.setAttribute("degreeID", degreeId); request.setAttribute("degree", rootDomainObject.readDegreeByOID(degreeId));  Integer executionDegreeId = getFromRequest("executionDegreeID", request); request.setAttribute("executionDegreeID", executionDegreeId);  Boolean inEnglish = getFromRequestBoolean("inEnglish", request); if (inEnglish == null) { inEnglish = getLocale(request).getLanguage().equals(Locale.ENGLISH.getLanguage()); } request.setAttribute("inEnglish", inEnglish);
public ActionForward showAccessRequirements(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { prepareInfo(request);
    public ActionForward showAccessRequirements(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {        Integer degreeId = getFromRequest("degreeID", request);        request.setAttribute("degreeID", degreeId);        request.setAttribute("degree", rootDomainObject.readDegreeByOID(degreeId));        Integer executionDegreeId = getFromRequest("executionDegreeID", request);        request.setAttribute("executionDegreeID", executionDegreeId);        Boolean inEnglish = getFromRequestBoolean("inEnglish", request);        if (inEnglish == null) {            inEnglish = getLocale(request).getLanguage().equals(Locale.ENGLISH.getLanguage());        }        request.setAttribute("inEnglish", inEnglish);                        try {            final Object[] args = { degreeId };            final InfoDegreeInfo infoDegreeInfo = (InfoDegreeInfo) ServiceManagerServiceFactory.executeService(null, "ReadDegreeInfoByDegree", args);            infoDegreeInfo.prepareEnglishPresentation(getLocale(request));            request.setAttribute("infoDegreeInfo", infoDegreeInfo);        } catch (FenixServiceException e) {            final ActionErrors errors = new ActionErrors();            errors.add("impossibleDegreeSite", new ActionError("error.public.DegreeInfoNotPresent"));            saveErrors(request, errors);        }        return mapping.findForward("showAccessRequirements");    }