final String from = (String) getFromRequest(request, "from"); final ResultPatent patent = readPatentFromRequest(request);
final ResultPatent patent = (ResultPatent)getResultFromRequest(request);
    public ActionForward prepareDelete(ActionMapping mapping, ActionForm form,	    HttpServletRequest request, HttpServletResponse response) throws Exception {	final String from = (String) getFromRequest(request, "from");	final ResultPatent patent = readPatentFromRequest(request);	if (patent == null) {	    return management(mapping, form, request, response);	}	if (from != null && !from.equals("")) {	    request.setAttribute("from", from);	}	return mapping.findForward("deletePatent");    }