- From: Christophe <cvigny@netserveur.fr>
- Date: Tue, 21 Oct 1997 14:52:15 +0200
- To: <www-jigsaw@w3.org>
Hello,
I'am trying to use the Jigsaw client side API. It work fine but I wonder
how to make a post method using the object request in an HttpManager ?
I don't find any method to get an OutputStrean from the request to write on
it.
Please tell me what to do.
Thank's for your help
my code :
request.setURL(new URL(InsNomad[1]));
request.setMethod("POST");
//don't work because I need an OutputStream .
PrintWriter writer = new PrintWriter(request.getOutputStream());
writer.println("URL=http://essai.com&Email=suite@essai.com");
writer.close();
reply = manager.runRequest(request);
System.out.println("length : "+reply.getContentLength());
Received on Tuesday, 21 October 1997 08:51:34 UTC