W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1998

Re: POSTing with a Socket

From: Gerald Oskoboiny <gerald@w3.org>
Date: Thu, 12 Feb 1998 17:10:58 -0500 (EST)
To: Chris <chris@surewould.com>
cc: www-talk@w3.org
Message-ID: <Pine.SOL.3.96.980212170850.27043A-100000@anansi.w3.org>
On Thu, 12 Feb 1998, Chris wrote:

> I'm trying to write some Java code that sends data to an HTML form.
:
> It seems that I can get the URL just fine, but I can't post any data.
> I've included the source below. Can anyone help?
:
>         // Send the POST data
>         out.println("Content length: 134");                // I
> hardwired the value just for now

This should be 'Content-Length'.

Gerald
-- 
Gerald Oskoboiny            <gerald@w3.org>  +1 617 253 2920
System Administrator, W3C   http://www.w3.org/People/Gerald/
World Wide Web Consortium, MIT Labatory for Computer Science
545 Technology Square, Room NE43-353  Cambridge MA 02139 USA
Received on Thursday, 12 February 1998 17:11:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:23 GMT