| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Curl In JSP
From: Lenny Sorey <lrsorey_at_fatdot.com>
Date: Wed, 25 Feb 2004 14:53:40 -0600
Good day all,
I am using Curl.exe from a command line in order to post information via HTTP.
I want to use Curl in a JSP which is a requirement of my customer.
I have placed the curl.exe in my jsp directory from which I'm launching my jsp which contains
I can run Curl with success from a command line with the parameters show below and get the desired results.
When I try to use the same command line within my jsp as shown below, I get a blank page.
Any guidance here would certainly be appreciated.
Thanks in advance.
Lenny Sorey
Platform is as follows:
Win 2K server
try{
Runtime r = Runtime.getRuntime();
Process p = r.exec(mycurl);
InputStream is = p.getInputStream();
mybuf = buf.toString();
out.println(mybuf);
}catch(Exception e){
%>
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info