HttpServletResponse response) throws FenixActionException {
HttpServletResponse response) throws FenixActionException, FenixServiceException {
    public ActionForward view(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws FenixActionException {        HttpSession session = request.getSession(true);        if (session != null) {			DynaActionForm chooseExamContextoForm = (DynaActionForm) form;					String[] allCurricularYears = { "1", "2", "3", "4", "5" };					   List curricularYears = new ArrayList(allCurricularYears.length);		   for (int i = 0; i < allCurricularYears.length; i++)			   curricularYears.add(new Integer(allCurricularYears[i]));			   request.setAttribute("curricularYearList", curricularYears);        	        				            IUserView userView = (IUserView) request.getSession().getAttribute(SessionConstants.U_VIEW);            //Integer executionPeriodOId = getFromRequest("executionPeriodOID",            // request);            Integer degreeId = getFromRequest("degreeID", request);            request.setAttribute("degreeID", degreeId);            Integer executionDegreeId = getFromRequest("executionDegreeID", request);            request.setAttribute("executionDegreeID", executionDegreeId);            Integer index = getFromRequest("index", request);            request.setAttribute("index", index);			Integer indice = getFromRequest("indice", request);			request.setAttribute("indice", indice);			List lista = (List)request.getAttribute ("lista");  			request.setAttribute("lista",lista);            Integer degreeCurricularPlanId = getFromRequest("degreeCurricularPlanID", request);            request.setAttribute("degreeCurricularPlanID", degreeCurricularPlanId);            Boolean inEnglish = getFromRequestBoolean("inEnglish", request);            request.setAttribute("inEnglish", inEnglish);  //          List curricularYears = (List) request.getAttribute("curricularYearList");            InfoExecutionPeriod infoExecutionPeriod = (InfoExecutionPeriod) request                    .getAttribute(SessionConstants.EXECUTION_PERIOD);            request.setAttribute(SessionConstants.EXECUTION_PERIOD, infoExecutionPeriod);            request.setAttribute(SessionConstants.EXECUTION_PERIOD_OID, infoExecutionPeriod                    .getIdInternal().toString());            InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) request                    .getAttribute(SessionConstants.EXECUTION_DEGREE);            if (infoExecutionDegree== null) 				request.setAttribute("infoDegreeCurricularPlan","");			else {            	request.setAttribute("infoDegreeCurricularPlan", infoExecutionDegree                   	 .getInfoDegreeCurricularPlan());			}            request.setAttribute(SessionConstants.EXECUTION_DEGREE, infoExecutionDegree);                     Object[] args = { infoExecutionDegree, curricularYears, infoExecutionPeriod };            InfoExamsMap infoExamsMap;            try {                infoExamsMap = (InfoExamsMap) ServiceUtils.executeService(userView,                        "ReadFilteredExamsMap", args);            } catch (NonExistingServiceException e) {                throw new NonExistingActionException(e);            } catch (FenixServiceException e) {                throw new FenixActionException(e);            }            request.setAttribute(SessionConstants.INFO_EXAMS_MAP, infoExamsMap);        }        return mapping.findForward("viewExamsMap");    }