I'm trying to gather the html output that is generated from a jsp
page that we have reside on another server. We want to do this by
just streaming in the output from that other page.
What I set up so far is:
URL url = new
URL("http://webdev.valpak.com:84/projectutility/filesaffected.jsp?file
s_affected=testingtestingtesting");
URLConnection connection = url.openConnection();
InputStream stream = connection.getInputStream();
BufferedReader in = new BufferedReader( new
InputStreamReader(stream));
String inputLine;
while ((inputLine = in.readLine()) != null)
out.println(inputLine+"<BR>");
The problem is this just gets me the output of the actual code that
resides on the jsp page I am reading from. I want to just gather the
output that the other jsp generates, not the undelying code on the
page. Any suggestions as to what I'm doing wrong?
THanks so much.
Rick
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets