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
Joined: Jan 11, 2006
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.