final Integer resultId = Integer.valueOf(request.getParameter("resultId"));   Result result = rootDomainObject.readResultByOID(resultId);  if(result==null) { return mapping.findForward("editParticipation");
final Result result = readResultFromRequest(request); if(result==null){ return backToResultList(mapping, form, request, response);
    public ActionForward prepareEditParticipation(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        final Integer resultId = Integer.valueOf(request.getParameter("resultId"));                //verify if field resultParticipationRole is to be active        Result result = rootDomainObject.readResultByOID(resultId);                if(result==null) {            return mapping.findForward("editParticipation");            }        request.setAttribute("result", result);                if(result instanceof ResultPublication)        {            if(((ResultPublication)result).haveResultPublicationRole())                request.setAttribute("participationsSchema","result.participationsWithRole");        }                return mapping.findForward("editParticipation");    }