You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Mike Oliver <ol...@appsaspeers.com> on 2003/01/10 04:31:00 UTC

trying to use one of the examples

If I use the example ClientApp and enter the URL 

 

https://knowledge.opentext.com/knowledge/livelink.exe

 

It throws a MalformedURLException and if look at the exception thrown
and caught I see it says "unknown protocol https".

 

I have been through the javadocs and examples, how about a hint? What do
I do to ClientApp to get https URLs to work?

 

Michael Oliver
Chief Technology Officer
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
520.574.1150 Voice
520.844.1036 Fax
520.270.8862 Cell
http://www.appsaspeers.com <http://www.appsaspeers.com/>  Home Page
5202708862@voicestream.net SMS
http://www.ollie.ezpeer.net <http://www.ollie.ezpeer.net/>  Personal
Home Page
http://www.ollie.im-live.com/im-live/  Instant Chat
MikeOliverAZ@hotmail.com MSN Messenger
MikeOliverAZ@yahoo.com Yahoo Instant Messenger
MikeOliverAZ Aol Instant Messenger



 


RE: trying to use one of the examples

Posted by Mike Oliver <ol...@appsaspeers.com>.
Follow up question...now that I have https working, thanks all for the
advice, and I have 

GetMethod get = new GetMethod();
get.setFollowRedirects(true);

how do I get cookies set in the 302 redirect original response with a
"set-cookie" header to be saved and presented when the 302 gets followed
with this directive?


Michael Oliver
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone:(520)574-1150
Fax:(520)844-1036


-----Original Message-----
From: Mike Oliver [mailto:ollie@appsaspeers.com] 
Sent: Thursday, January 09, 2003 8:31 PM
To: commons-user@jakarta.apache.org
Subject: trying to use one of the examples

If I use the example ClientApp and enter the URL 

 

https://knowledge.opentext.com/knowledge/livelink.exe

 

It throws a MalformedURLException and if look at the exception thrown
and caught I see it says "unknown protocol https".

 

I have been through the javadocs and examples, how about a hint? What do
I do to ClientApp to get https URLs to work?

 

Michael Oliver
Chief Technology Officer
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
520.574.1150 Voice
520.844.1036 Fax
520.270.8862 Cell
http://www.appsaspeers.com <http://www.appsaspeers.com/>  Home Page
5202708862@voicestream.net SMS
http://www.ollie.ezpeer.net <http://www.ollie.ezpeer.net/>  Personal
Home Page
http://www.ollie.im-live.com/im-live/  Instant Chat
MikeOliverAZ@hotmail.com MSN Messenger
MikeOliverAZ@yahoo.com Yahoo Instant Messenger
MikeOliverAZ Aol Instant Messenger



 



[httpclient] Anybody build a distribution for JDK 1.1.8?

Posted by Michael Comeau <Mi...@mediapearls.com>.
Hi,

I have an application that is targeted for Jeode on a Linux/MIPS platform.
The current version of Jeode is PersonalJava 1.2 compliant, meaning JDK
1.1.8 + some Java2 security stuff.  Using JavaCheck I have identified that
the java.lang.ref and javax.crypto packages are used, which are not
supported on my platform.  There may also be some methods used that are not
supported, but I have not identified any yet.  Has anybody come across a JDK
1.1.8 compliant version of HttpClient?

Best regards,
Mike


[httpclient] Re: trying to use one of the examples

Posted by Rodney Waldhoff <rw...@apache.org>.
HTTPS support requires the installation and configuration of the Secure
Socket Extension to the JRE.

That's not as hard as you may think.  See
<http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-commons/httpclient/docs/USING_HTTPS.txt?rev=HEAD>
for details.

 - Rod

On Thu, 9 Jan 2003, Mike Oliver wrote:

> If I use the example ClientApp and enter the URL
>
>
>
> https://knowledge.opentext.com/knowledge/livelink.exe
>
>
>
> It throws a MalformedURLException and if look at the exception thrown
> and caught I see it says "unknown protocol https".
>
>
>
> I have been through the javadocs and examples, how about a hint? What do
> I do to ClientApp to get https URLs to work?
>
>
>
> Michael Oliver
> Chief Technology Officer
> AppsAsPeers LLC
> 7391 S. Bullrider Ave.
> Tucson, AZ 85747
> 520.574.1150 Voice
> 520.844.1036 Fax
> 520.270.8862 Cell
> http://www.appsaspeers.com <http://www.appsaspeers.com/>  Home Page
> 5202708862@voicestream.net SMS
> http://www.ollie.ezpeer.net <http://www.ollie.ezpeer.net/>  Personal
> Home Page
> http://www.ollie.im-live.com/im-live/  Instant Chat
> MikeOliverAZ@hotmail.com MSN Messenger
> MikeOliverAZ@yahoo.com Yahoo Instant Messenger
> MikeOliverAZ Aol Instant Messenger
>
>
>
>
>
>