| Author |
NoSuchAlgorithmException when reading HTTPS URL
|
Ivan Jouikov
Ranch Hand
Joined: Jul 22, 2003
Posts: 269
|
|
Hi! I am simply trying to read from an HTTPS URL. I am running java 1.5. Here's what I write: Here's the error I get: Anybody has any idea how to fix this?
|
 |
Eddie Vanda
Ranch Hand
Joined: Mar 18, 2003
Posts: 281
|
|
Hi Ivan, I don't know much about this, but could you not use class HttpsURLConnection? Ed
|
The nice thing about Standards is that there are so many to choose from!
|
 |
Ivan Jouikov
Ranch Hand
Joined: Jul 22, 2003
Posts: 269
|
|
|
HTTPSConnection is subclass of URLConnection, and i am not in control of what url.openConnection() returns.
|
 |
Eddie Vanda
Ranch Hand
Joined: Mar 18, 2003
Posts: 281
|
|
Hi, I just ran your code as you wrote it in 1.5 and got this output:
Content-type = text/html; charset=utf-8 Content-length = -1 <SCRIPT language="JavaScript"> <!-- document.c o o k i e = "IV_JCT=%2Flni%2Fbbip; path=/"; //--> </SCRIPT> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>Look Up a Contractor, Electrician or Plumber License Detail</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> </HEAD> <body> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>header</title> <!-- these variables need to be modified for your application --> // deleted middle for space </td></tr> </TABLE> </DIV> <br><br><br> <script type="text/javascript" language="javascript" src="templates/javascript/footer.js"></script> <!-- InstanceEnd --> </body> </HTML>
|
 |
Ivan Jouikov
Ranch Hand
Joined: Jul 22, 2003
Posts: 269
|
|
|
So what could this mean? I have some missing libraries or something?
|
 |
 |
|
|
subject: NoSuchAlgorithmException when reading HTTPS URL
|
|
|