protected ActionForward getForward(ActionForward forward, String testId, String analysisId) { ActionRedirect redirect = new ActionRedirect(forward); if (testId != null) redirect.addParameter(SELECTED_TEST_ID, testId); if (analysisId != null) redirect.addParameter(ANALYSIS_ID, analysisId); // System.out.println("This is redirect " + redirect.getPath()); return redirect; }
protected ActionForward getForward(ActionForward forward, String accessionNumber) { ActionRedirect redirect = new ActionRedirect(forward); if (!StringUtil.isNullorNill(accessionNumber)) redirect.addParameter(ACCESSION_NUMBER, accessionNumber); return redirect; }