ResultPatent patent = readPatentByOid(patentId);  request.setAttribute("patent", patent);
    public ActionForward prepareEditPatent(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        //If we get here from Result Participation Management, id comes in an attribute         Integer patentId = (Integer) request.getAttribute("patentId");                //If we get here from Patents Management, id comes in a paremeter        if (patentId == null) {            patentId = Integer.valueOf(request.getParameter("patentId"));        }        ResultPatent patent = readPatentByOid(patentId);                request.setAttribute("patent", patent);                return mapping.findForward("editPatent");    }