From my jsp page I need to call a url to a perl script running on apache web server. The perl script does some calculations and generates the output. I want the generated output to be included in the jsp page that calls the url
Any idea how to achieve it? I tried calling response.sendRedirect("http://myexampleserver.com/cgi-bin/www/test/test.pl") but it loads the resulting page genereated by the perl script into the browser with the url as "http://myexampleserver.com/cgi-bin/www/test/test.pl".
I want the resulting page to be embedded into test.jsp
thanks a lot