final ResultPatent patent = readPatentFromRequest(request);
final ResultPatent patent = (ResultPatent)getResultFromRequest(request);
    public ActionForward prepareEditData(ActionMapping mapping, ActionForm form,	    HttpServletRequest request, HttpServletResponse response) throws Exception {	final ResultPatent patent = readPatentFromRequest(request);	if (patent == null) {	    return management(mapping, form, request, response);	}	return mapping.findForward("editPatentData");    }