InfoExecutionCourseEditor infoExecutionCourse = (InfoExecutionCourseEditor) request
InfoExecutionCourse infoExecutionCourse = (InfoExecutionCourse) request
    public ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        IUserView userView = (IUserView) request.getSession(false).getAttribute("UserView");        InfoExecutionCourseEditor infoExecutionCourse = (InfoExecutionCourseEditor) request                .getAttribute(SessionConstants.EXECUTION_COURSE);        DynaActionForm editExecutionCourseForm = (DynaActionForm) form;        infoExecutionCourse.setTheoreticalHours(new Double((String) editExecutionCourseForm.get("theoreticalHours")));        infoExecutionCourse.setTheoPratHours(new Double((String) editExecutionCourseForm.get("theoPratHours")));        infoExecutionCourse.setPraticalHours(new Double((String) editExecutionCourseForm.get("praticalHours")));        infoExecutionCourse.setLabHours(new Double((String) editExecutionCourseForm.get("labHours")));                infoExecutionCourse.setSeminaryHours(new Double((String) editExecutionCourseForm.get("seminaryHours")));                infoExecutionCourse.setProblemsHours(new Double((String) editExecutionCourseForm.get("problemsHours")));        infoExecutionCourse.setFieldWorkHours(new Double((String) editExecutionCourseForm.get("fieldWorkHours")));        infoExecutionCourse.setTrainingPeriodHours(new Double((String) editExecutionCourseForm.get("trainingPeriodHours")));        infoExecutionCourse.setTutorialOrientationHours(new Double((String) editExecutionCourseForm.get("tutorialOrientationHours")));        Object args[] = { infoExecutionCourse };        infoExecutionCourse = (InfoExecutionCourseEditor) ServiceManagerServiceFactory.executeService(                userView, "EditExecutionCourse", args);        if (infoExecutionCourse != null) {            request.setAttribute(SessionConstants.EXECUTION_COURSE, infoExecutionCourse);        }        return prepare(mapping, form, request, response);    }