Greet the sun all,

Is there anyway to catch the resulting HTML output of a
RequestDispatcher.forward call?  I was trying through the following chunk of
code:

URL t_url = new URL(getFormattedJSPPage(aSiteId, aPageId));
URLConnection t_urlConnection = t_url.openConnection();
BufferedReader t_bufferedReader = new BufferedReader(new
InputStreamReader(t_urlConnection.getInputStream()));

However, there is no way to the the HttpServletRequest, HttpServletResponse
parameters like you could with a RequestDispatcher.include method.

Perry Hoekstra

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to