Where are Proxy-Settings stored?

Hello,

I am currently migrating an applet-based application company-wide (3000 users) to webstart but we face a problem:

- The WebStart-App is started from a local server

- The first time WebStart starts a popup asking the user for proxy settings pops up.

If the user clicks simply ok, wrong proxy settings are used -> even the webstart-client running locally does not work anymore (getting 502 from the proxy).

Is there any way to prevent this dialog from popping up the first time, and selecting "No Proxy" by default? Where are these settings stored (Registry, Files)?

If possible we would like to modify all our computers in a batch-procedure (no GUIs).

Thank you in advance, lg Clemens

[748 byte] By [linuxhippya] at [2007-11-26 19:12:08]
# 1

They are set at a JVM level. It is implemented in the C code and you don't have getter/setter method access at the Java level.

Here is how I set it:

[code]// Proxy Settings

//System.setProperty("https.proxyHost", "proxy.blahblahblah.net");

//System.setProperty("https.proxyPort", "8080");

//

//System.setProperty("http.proxyHost", "proxy.blahblahblah.net");

//System.setProperty("http.proxyPort", "8080");[/code]

BTW

Did you ever figure out how to post form data from a JEditorPane?

I keep getting this error:

[code]

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

at javax.swing.text.html.FormView.submitData(FormView.java:376)[/code]

I think the JavaScript code is setting some hidden fields when I submit the form. I can't confirm that yet since I keep blowing up when I click on the button to submit the form. :-)

Any help would be greatly appreciated.

Regards

paducahWildcata at 2007-7-9 21:10:16 > top of Java-index,BigAdmin,Set up and Deploy...