Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39413

Re: emulating browser cgi get in java

From Andreas Leitgeb <avl@logic.at>
Newsgroups comp.lang.java.programmer
Subject Re: emulating browser cgi get in java
Date 2020-03-30 06:44 +0000
Organization A noiseless patient Spider
Message-ID <slrnr8359r.p7n.avl@logic.at> (permalink)
References <19a29456-e113-4ea7-8689-0e91d440a74a@googlegroups.com> <810d0qz89jmy.dlg@kimmeringer.de>

Show all headers | View raw


Lothar Kimmeringer <news201705@kimmeringer.de> wrote:
> maxmikes001@gmail.com wrote:
>> This should be simple, but it's really foiling me; I can send the browser this command: 
>> http://192.168.1.66/man.cgi?redirect=&faulure=&type=door_on&securitystate=1
>> and it does exactly what it's supposed to. But in Java when I try:
>> URL url = new URL("http:/" + clientid + "/man.cgi?redirect=&faulure=&type=door_on&securitystate=1");
>> it fails. Any hints please?

My newsserver didn't even show maxmikes' post. I was curious, and looked
it up on groups.google.com, and there I saw it from March 12th, answered
the very next day by Silvio, and his answer seemed pretty plausible.

Since no one seems to have seen the answer (maybe except the OP, as he
didn't come back), this was it:  "A missing slash in there somewhere?"

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: emulating browser cgi get in java Lothar Kimmeringer <news201705@kimmeringer.de> - 2020-03-28 20:03 +0100
  Re: emulating browser cgi get in java Martin Gregorie <martin@mydomain.invalid> - 2020-03-28 21:18 +0000
    Re: emulating browser cgi get in java Lothar Kimmeringer <news201705@kimmeringer.de> - 2020-03-29 16:37 +0200
      Re: emulating browser cgi get in java Martin Gregorie <martin@mydomain.invalid> - 2020-03-29 17:30 +0000
        Re: emulating browser cgi get in java Lothar Kimmeringer <news201705@kimmeringer.de> - 2020-03-29 20:28 +0200
  Re: emulating browser cgi get in java Andreas Leitgeb <avl@logic.at> - 2020-03-30 06:44 +0000
    Re: emulating browser cgi get in java Martin Gregorie <martin@mydomain.invalid> - 2020-03-30 07:08 +0000

csiph-web