request.setAttribute("patent", patent);
if(from != null && !from.equals("")){ request.setAttribute("from", from); }
    public ActionForward prepareDeletePatent(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        Integer resultId = Integer.valueOf(request.getParameter("resultId"));        ResultPatent patent = readPatentByOid(resultId);                request.setAttribute("patent", patent);        return mapping.findForward("deletePatent");    }