Unfortunately I am using this on WAS 3.5 and the JVM version IBM uses is 1.2.2. In that version setInstanceFollowRedirects(false) is not available.
Thanks for the suggestion though.
I am attempting to access a file with the java.net.URL data type in WAS on OS390 with athentication on.
Authenticator.setDefault(new BTSAuthenticator());
URL url = new URL("http://mylocation/file.txt");
HttpURLConnection connection = (HttpURLConnection)url.openConnection()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.