final DynaActionForm form = (DynaActionForm) actionForm;  final Integer studentNumber = Integer.valueOf((String) form.get("studentNumber")); final List<Integer> unenrollmentsList = Arrays.asList((Integer[]) form.get("unenrollments"));
final DynaActionForm form = (DynaActionForm) actionForm;
	public ActionForward unEnrollCourses(ActionMapping mapping, ActionForm actionForm,			HttpServletRequest request, HttpServletResponse response) throws Exception {		final DynaActionForm form = (DynaActionForm) actionForm;				final Integer studentNumber = Integer.valueOf((String) form.get("studentNumber"));		final List<Integer> unenrollmentsList = Arrays.asList((Integer[]) form.get("unenrollments"));		try {			final Object[] args = { getStudent(form), getDegreeType(form), unenrollmentsList };			ServiceManagerServiceFactory.executeService(getUserView(request), "DeleteEnrollmentsList",					args);		} catch (NotAuthorizedFilterException e) {			addActionMessage(request, "error.exception.notAuthorized2");			return mapping.getInputForward();		} catch (DomainException e) {			addActionMessage(request, e.getMessage());			return mapping.getInputForward();		} catch (FenixServiceException e) {			e.printStackTrace();			addActionMessage(request, "error.impossible.operations.unenroll", studentNumber.toString());			return mapping.getInputForward();		}		return mapping.findForward("readCurricularCourseEnrollmentList");	}