this code is giving me ClassCastException. The code is working fine if i establish plain HttpConnection. I am able to see the yahoo main page scripts. Is it that www.yahoo.com page doesnt support secure connections??? What can be the probable reason?
Chetan Dhewal<br />SCMAD,SCJP 1.2
posted 8 years ago
It looks like you are missing an 's' or ':443' from your URL.
HTTP/S does not appear to be enabled on Yahoo's main page. When attempting a secure connection to Yahoo I am redirected to port 80.