final Object[] args = { request.getAttribute("executionCourse"), item }; executeService(request, "DeleteItem", args);
try { final Object[] args = { request.getAttribute("executionCourse"), item }; executeService(request, "DeleteItem", args); } catch (DomainException e) { addErrorMessage(request, "items", e.getKey(), (Object[]) e.getArgs()); }
    public ActionForward deleteItem(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        final Item item = getItem(request);        final Section section = item.getSection();        final Object[] args = { request.getAttribute("executionCourse"), item };        executeService(request, "DeleteItem", args);        selectSection(request, section);        return mapping.findForward("section");    }