It's not a secret anymore!
The moose likes Applets and the fly likes proxy applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "proxy applet" Watch "proxy applet" New topic

proxy applet

Johannes Postma
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
Does someone know how I can create a connection to a remote host via a proxy? I use in my applet Sockets. The solution must work for http and https. I know that if I use URLConnection the proxy settings are automatically read from the browser settings. This is not the case by Sockets. Do I read first the System properties and how do I know if authentification is needed? Is this also part of one of the properties?



Johannes<br /> <br />SCJP, SCJD, SCWCD, SCDJWS, SCEA, ICSA (IBM 340)
Oricio Ocle
Ranch Hand

Joined: Nov 30, 2004
Posts: 284

These system properties can be useful for you:

I agree. Here's the link:
subject: proxy applet
It's not a secret anymore!