Integer resultId = Integer.valueOf(request.getParameter("oid")); Patent patent = readPatentByOid(resultId); List<Person> authorsList = getPatentAuthorsList(patent);
Integer authorshipId = Integer.valueOf(request.getParameter("oid")); Patent patent = (Patent) readAuthorshipByOid(authorshipId).getResult();
    public ActionForward preparePatentDetails(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        Integer resultId = Integer.valueOf(request.getParameter("oid"));        Patent patent = readPatentByOid(resultId);        List<Person> authorsList = getPatentAuthorsList(patent);        request.setAttribute("patent", patent);        request.setAttribute("authorsList", authorsList);        return mapping.findForward("patentDetails");    }