Just in case anyone else was wondering, I found a solution to this on another forum.
RequestDispatcher rd = request.getRequestDispatcher("ofroiWeb/FinalForm.do");
// wrap the original response wrapper in a buffered response
BufferedHttpResponseWrapper buffResponse = new BufferedHttpResponseWrapper(response);
try {
// use the request dispatcher to invoke our page
// the response will be written into the buffResponse object.
rd.include(request, buffResponse);
} catch (ServletException e) {
throw e;
}
// retrieve the result
byte[] byteResult = buffResponse.getBuffer();
String result = new String(byteResult);
StringBuffer buffer = new StringBuffer();
buffer.append(result);
This solution worked like a charm. The guy that posted it said it only works if this call happens on the same server as the original call. BufferedHttpResponseWrapper is a class I had to create. I found good samples for this class at
http://www.porcupyne.org/docs/browse_source/JavaXslt/com/oreilly/javaxslt/util/BufferedHttpResponseWrapper.java.html. As you see I don't use a URL object at all. I use a RequestDispatcher instead. I use the BufferedHttpResponseWrapper so I could update the response object. I really don't have my mind completely wrapped around this solution, but it works so I'm happy.