[11102] in www-talk@info.cern.ch
Re: POSTing with a Socket
daemon@ATHENA.MIT.EDU (Gerald Oskoboiny)
Thu Feb 12 17:42:01 1998
Date: Thu, 12 Feb 1998 17:10:58 -0500 (EST)
From: Gerald Oskoboiny <gerald@w3.org>
To: Chris <chris@surewould.com>
Cc: www-talk@w3.org
In-Reply-To: <34E36F5E.3B21@surewould.com>
Resent-From: www-talk@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