I am getting “java.lang.ClassCastException” while trying to connect to a url using javax.net.ssl.HttpsURLConnection . I am using Weblogic Server 10.3.4. The exception which i am getting is : Any possible reason of getting this error ? Answer I got the solution finally. If we are using Weblogic ser…
Tag: httpsurlconnection
Eclipse plugin dev, how to stop HttpsURLConnection of poping up user/password window when I connect
JDK IBM 1.6 Eclipse 3.6.2 Connect to a server with following code. URL urlTemplate = new URL(uri); uc = (HttpURLConnection) urlTemplate.openConnection(); when connecting with wrong credential, it will pop up a window to enter correct credential as input, how to stop it? it seems to be built-in action and unab…