public ActionForward createParticipation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { final Result result = readResultFromRequest(request); if(result==null){ return backToResultList(mapping, form, request, response); }
public ActionForward createParticipation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
    public ActionForward createParticipation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {        final Result result = readResultFromRequest(request);        if(result==null){ return backToResultList(mapping, form, request, response); }                final ResultParticipationCreationBean bean = (ResultParticipationCreationBean) RenderUtils.getViewState().getMetaObject().getObject();                RenderUtils.invalidateViewState();                if(checkBean(bean)) {            final Object[] args = { bean };                        try {                ServiceUtils.executeService(getUserView(request), "CreateResultParticipation", args);            }            catch (Exception e) {                addActionMessage(request, e.getMessage());            }        }        else {            bean.setBeanExternal(true);            request.setAttribute("bean", bean);        }        return prepareEditParticipation(mapping,form,request,response);    }