On 1/22/07, <b class="gmail_sendername">Nick Burch</b> <<a href="mailto:openstreetmap@gagravarr.org">openstreetmap@gagravarr.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 22 Jan 2007, Dave wrote:<br>>> Quite possibly. I don't think that most of the applet is aware of http<br>>> proxies, and just assumes it can connect to the internet directly.<br>><br>> The proxy should be transparent to the Java application -- the applet
<br>> shouldn't need to know anything.<br><br>It makes use of the commons httpclient library to do most of its data<br>fetching, rather than built-in applet calls. I'm not sure how that affects<br>things</blockquote>
<div><br>Yeah, that'll stop auto-configuration, or any of the Java settings.<br>What needs to happen is the HttpClient's host configuration should be set to the right values. Something along the lines of <br><pre>
client.getHostConfiguration().setProxy(proxyHost,proxyPort);<br></pre></div>On Java 5.0 you can use ProxySelector to figure out what values to use. On older Javas you kind of have to rely on two environment vars which the browser plugin may or may not have setup correctly. I don't know what the applet's java target version is these days.
<br><br></div>