forwardTo = new String("listPatents"); } else { forwardTo = new String("ListPublications"); }
return mapping.findForward("listPatents"); } return mapping.findForward("ListPublications");
    public ActionForward backToResultList(ActionMapping mapping, ActionForm form,	    HttpServletRequest request, HttpServletResponse response) {	final String resultType = (String) getFromRequest(request, "resultType");	String forwardTo = null;	if (!(resultType == null || resultType.equals(""))) {	    if (resultType.compareTo(ResultPatent.class.getSimpleName()) == 0) {		forwardTo = new String("listPatents");	    } else {		forwardTo = new String("ListPublications");	    }	}	return mapping.findForward(forwardTo);    }