System.out.println("In Function2: infoExecutionDegree= " + request.getAttribute( SessionConstants.EXECUTION_DEGREE));
	public ActionForward createClass(		ActionMapping mapping,		ActionForm form,		HttpServletRequest request,		HttpServletResponse response)		throws Exception {		//ContextUtils.setExecutionPeriodContext(request);		//ContextUtils.setExecutionDegreeContext(request);		//ContextUtils.setCurricularYearContext(request);			System.out.println("In Function1: infoExecutionDegree= " + request.getAttribute(				SessionConstants.EXECUTION_DEGREE));			System.out.println("In Function1: infoExecutionDegreeOID= " + request.getAttribute(				SessionConstants.EXECUTION_DEGREE_OID));		//HttpSession session = request.getSession(false);		request.removeAttribute(SessionConstants.EXECUTION_COURSE_KEY);		//request.removeAttribute(SessionConstants.CLASS_VIEW);		request.removeAttribute(SessionConstants.LESSON_LIST_ATT);		String className = getClassName(form);		IUserView userView = SessionUtils.getUserView(request);		if (className != null && !className.equals("")) {			System.out.println("In Function2: infoExecutionDegree= " + request.getAttribute(				SessionConstants.EXECUTION_DEGREE));			InfoClass classView = getInfoTurma(userView, className, request);			if (classView == null) {				InfoCurricularYear infoCurricularYear =					(InfoCurricularYear) request.getAttribute(						SessionConstants.CURRICULAR_YEAR);				Integer curricularYear = infoCurricularYear.getYear();				InfoExecutionDegree infoExecutionDegree =					(InfoExecutionDegree) request.getAttribute(						SessionConstants.EXECUTION_DEGREE);				InfoExecutionPeriod infoExecutionPeriod =					(InfoExecutionPeriod) request.getAttribute(						SessionConstants.EXECUTION_PERIOD);				//				CurricularYearAndSemesterAndInfoExecutionDegree context =				//					SessionUtils.getContext(request);				InfoClass infoClass = new InfoClass();				infoClass.setNome(className);				infoClass.setAnoCurricular(curricularYear);				infoClass.setInfoExecutionDegree(infoExecutionDegree);				infoClass.setInfoExecutionPeriod(infoExecutionPeriod);				Object argsCriarTurma[] = { infoClass };				try {					infoClass = (InfoClass) ServiceUtils.executeService(						userView,						"CriarTurma",						argsCriarTurma);					request.setAttribute(SessionConstants.CLASS_VIEW, infoClass);				} catch (ExistingServiceException e) {					throw new ExistingActionException("A Turma", e);				}				return viewClass(mapping, form, request, response);			} else {				ActionErrors actionErrors = new ActionErrors();				actionErrors.add(					"existingClass",					new ActionError("errors.existClass", className));				saveErrors(request, actionErrors);				return mapping.getInputForward();			}		} else {			return mapping.getInputForward();		}	}