|
|
Detect browser proxy settings from applet
Hi,
Is it possible to detect the proxy settings in use by a browser when running
an applet?
I need to do an HTTP get/post and our clients sit behind a proxy.
Cheers,
Steve
|
|
0
|
|
|
|
Reply
|
SPG
|
7/22/2004 5:50:07 PM |
|
On Thu, 22 Jul 2004 17:50:07 GMT, "SPG"
<steve.goodsell@nopoo.blueyonder.co.uk> wrote or quoted :
>Is it possible to detect the proxy settings in use by a browser when running
>an applet?
>I need to do an HTTP get/post and our clients sit behind a proxy.
see http://mindprod.com/jgloss/proxy.html
there are system properties for proxies.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
0
|
|
|
|
Reply
|
Roedy
|
7/22/2004 6:48:23 PM
|
|
Roedy,
Yes, I managed to get that far, but how are we supposed to know the proxy
server ip or name at runtime?
We have upwards ot 10,000 client sconnecting through many different proxies.
There must be some way to detect these setting when the applet starts up?
Steve
"Roedy Green" <look-on@mindprod.com.invalid> wrote in message
news:4v20g0dmcs9ip3lj0828qrdrmvl7bnmbdh@4ax.com...
> On Thu, 22 Jul 2004 17:50:07 GMT, "SPG"
> <steve.goodsell@nopoo.blueyonder.co.uk> wrote or quoted :
>
> >Is it possible to detect the proxy settings in use by a browser when
running
> >an applet?
> >I need to do an HTTP get/post and our clients sit behind a proxy.
>
> see http://mindprod.com/jgloss/proxy.html
> there are system properties for proxies.
>
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
0
|
|
|
|
Reply
|
SPG
|
7/22/2004 8:13:25 PM
|
|
On Thu, 22 Jul 2004 20:13:25 GMT, "SPG"
<steve.goodsell@nopoo.blueyonder.co.uk> wrote or quoted :
>Yes, I managed to get that far, but how are we supposed to know the proxy
>server ip or name at runtime?
>We have upwards ot 10,000 client sconnecting through many different proxies.
>There must be some way to detect these setting when the applet starts up?
I would have hoped Java would interrogate the OS and set them for you.
I guess all you can do is have the user configure them in a properties
file or gui.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
0
|
|
|
|
Reply
|
Roedy
|
7/22/2004 10:43:55 PM
|
|
|
3 Replies
624 Views
(page loaded in 0.07 seconds)
|
|
|
|
|
|
|
|
|