🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #676

Re: how to send a string to a url

#676
From: Dave
Date: Wed, 23 Aug 2006 13:42
27 lines
1879 bytes
Hello again,

I talked to the developer who wrote that java code...it appears to be a Get request but it is really a Post request.

The code does work because there is servlet behind Tomcat that will take these strings and do what it needs to do with them.
The SQL string that is passed to that servlet does actually issue that command the the MySQL server on that server.



"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"dave" <dave@here.com> wrote in message
>news:44eb4d5d$1@newsgroups.borland.com...
>
>> Here is some java code which I am trying to do with Builder.
>
>Such code would send a GET request to the server.  It is unusual to send
>body content in a GET request.  Are you sure that the server does not expect
>a POST request instead?  Does the code you have shown actually work as you
>have shown it?  What data do you see if you use a packet sniffer, such as
>Ethereal (http://www.ethereal.com)?
>
>
>Gambit
>
>
Technical Details
Message-ID: <44ec5b63$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44eb39e3$2@newsgroups.borland.com> <44eb4100$1@newsgroups.borland.com> <44eb4d5d$1@newsgroups.borland.com> <44eb8380$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,bfc9e9e4f471e4ee
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dave" <dave@here.com>
Sender: "Dave" <dave@here.com>
Reply-To: "Dave" <dave@here.com>
Subject: Re: how to send a string to a url
Newsgroups: borland.public.cppbuilder.internet.web
X-User-Info: 209.113.245.98     
References: <44eb39e3$2@newsgroups.borland.com> <44eb4100$1@newsgroups.borland.com> <44eb4d5d$1@newsgroups.borland.com> <44eb8380$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44ec5b63$1@newsgroups.borland.com>
Date: 23 Aug 2006 06:42:59 -0700
X-Trace: newsgroups.borland.com 1156340579 207.105.83.66 (23 Aug 2006 06:42:59 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail