How to HTTPS with authentication and extra properties?

From: carl (cherme_at_swbell.net)
Date: 10/09/03


Date: Thu, 09 Oct 2003 12:00:49 -0500

The following PERL code snipet request
(automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST)
needs to be converted to Java2-1.3:

$urlreq="https://myname:mypaswd@www.farm.com/apps/animalsX?DOG=boxer&COLOR=brown"
$ua->agent("Mozilla/3.0");
my $request = new HTTPS::Request('GET', $urlreq);
$request->content_type('application/x-www-form-urlencoded');
.
. (collect data and save it).
.

Anyone have a snipet sample, in Java, of how I do this?

HTTPS seems makes things a bit more complicated in Java.

Is there just as easy a way in a Java client
(by putting name/passwd and property data in with URL) or
how would I submit the URL connection by creating individual
properties?

A bit lost and cornfused . . .

TIA,
Carl



Relevant Pages

  • How to HTTPS with authentication and extra properties?
    ... The following PERL code snipet request ... (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... HTTPS seems makes things a bit more complicated in Java. ...
    (comp.lang.java)
  • How to HTTPS with authentication and extra properties?
    ... The following PERL code snipet request ... (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... HTTPS seems makes things a bit more complicated in Java. ...
    (comp.lang.java.programmer)
  • How to HTTPS with authentication and properties??
    ... The following PERL code snipet request ... (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... HTTPS seems makes things a bit more complicated in Java. ...
    (comp.lang.java.programmer)
  • How to HTTPS with authentication ANDextra URL properties??
    ... The following PERL code snipet request ... (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... HTTPS seems makes things a bit more complicated in Java. ...
    (comp.lang.java)
  • Re: jsp client for axis2 webservice
    ... Read the Java EE tutorial on the Sun web site. ... to call logic from a JSP. ... all the JSP does is POST an HTTP request to the application ... calling one of the stub methods that you have. ...
    (comp.lang.java.programmer)