Using URL to connect via a proxy.
Does anyone know if there are any issues regarding using URL to access data via a proxy within a .jnlp application.
I set the system properties:
Properties p = System.getProperties();
then I use the URL class to read some data.
URL url = new URL("http://some.web.address/path/to/some/file");
BufferedInputStream bis = new BufferedInputStream(url.openStream());
However I cannot get it to work. I know the proxy.
Can anyone see anything that I am missing.