What is the best method for calling another JSP from a JSP?  I don't want to
redirect and I don't care about the output.

The following works, but I thought there might be a simpler method:

        URL url = new URL("http://blah.com/cp/blah.jsp?parm=" + param);
        URLConnection connection = url.openConnection();
        BufferedReader read = new BufferedReader(new
InputStreamReader(url.openStream()));
        read.close();

===========================================================================
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

Reply via email to