Does anyone know if it possible to use multiple proxies for URL
connections within a single java program?

I have an application that needs to access to different proxies to get
to different networks (long story). I can access either proxy by setting
the System properties proxySet etc. However if I try to change the proxy
during the programs execution it just ignores the change and uses the
initial setting. I can't even turn the proxying off for URL connections
once I have established a connection using the proxy. BTW I make sure I
close all connections before trying to change the proxy information. Is
there a way around this ?

Cheers
Dave Atkinson

Reply via email to