Re: POSTing with a Socket

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 UTC