DynaActionForm manipularTurnosForm = (DynaActionForm) sessao.getAttribute("manipularTurnosForm");
DynaActionForm manipularTurnosForm = (DynaActionForm) request.getAttribute("manipularTurnosForm");
  public ActionForward execute(ActionMapping mapping, ActionForm form,                                HttpServletRequest request,                                HttpServletResponse response)      throws Exception {		    HttpSession sessao = request.getSession(false);    if (sessao != null) {    	      DynaActionForm manipularTurnosForm = (DynaActionForm) sessao.getAttribute("manipularTurnosForm");          IUserView userView = (IUserView) sessao.getAttribute("UserView");      GestorServicos gestor = GestorServicos.manager();      Integer indexTurno = (Integer) manipularTurnosForm.get("indexTurno");      ArrayList infoTurnos = (ArrayList) request.getAttribute("infoTurnosDeDisciplinaExecucao");      InfoShift infoTurno = (InfoShift) infoTurnos.get(indexTurno.intValue());	  manipularTurnosForm.set("indexTurno", null);	  InfoExecutionCourse IEC = (InfoExecutionCourse) request.getAttribute(SessionConstants.EXECUTION_COURSE_KEY);	  	  	  Object argsApagarTurno[] = { new ShiftKey(infoTurno.getNome(),IEC) };      Boolean result = (Boolean) gestor.executar(userView, "ApagarTurno", argsApagarTurno);	  	  if (result != null && result.booleanValue()) {	  	infoTurnos.remove(indexTurno.intValue());	  	request.removeAttribute("infoTurnosDeDisciplinaExecucao");	  	if (!infoTurnos.isEmpty())	  		request.setAttribute("infoTurnosDeDisciplinaExecucao",infoTurnos);	  }	      return mapping.findForward("Sucesso");    } else      throw new Exception();  // nao ocorre... pedido passa pelo filtro Autorizacao   }