public String includeJspString(String jspPath,
HttpServletRequest httpRequest, HttpServletResponse httpResponse,
WaybackRequest wbRequest, SearchResults results, SearchResult result)
throws ServletException, IOException {
UIQueryResults uiResults = new UIQueryResults(httpRequest, wbRequest,
results, uriConverter);
uiResults.setResult(result);
StringHttpServletResponseWrapper wrappedResponse =
new StringHttpServletResponseWrapper(httpResponse);
uiResults.storeInRequest(httpRequest,jspPath);
RequestDispatcher dispatcher = httpRequest.getRequestDispatcher(jspPath);
dispatcher.forward(httpRequest, wrappedResponse);
return wrappedResponse.getStringResponse();
}