addActionMessage(request,"error.Result.not.found");
    public ActionForward backToResult(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        final Result result = readResultFromRequest(request);        if(result==null){            return backToResultList(mapping, form, request, response);        }                String forwardTo = null;                if (result instanceof ResultPatent){            request.setAttribute("patentId", result.getIdInternal());            forwardTo = new String("editPatent");            }        else if (result instanceof ResultPublication){            request.setAttribute("publicationId", result.getIdInternal());            forwardTo = new String("viewEditPublication");        }                return mapping.findForward(forwardTo);    }