这样当然不行。要使用URL类
URL ssoURL = null;
HttpURLConnection httpCon = null;

try{
ssoURL = new URL(ssoURLAdd);
httpCon = (HttpURLConnection)ssoURL.openConnection();
httpCon.connect();
InputStream is = httpCon.getInputStream();
                           /************************************/
                           这里就可以使用获得的  InputStream 了
                            /************************************/
}
}catch(MalformedURLException murle){
System.out.println("SSO Verify URL MalformedURLException :" + murle.toString());
}catch(ProtocolException pe){
System.out.println("SSO Verify URL ProtocolException :" + pe.toString());
}catch(IOException ioe){
System.out.println("SSO Verify URL IOException :" + ioe.toString());
}