internet explorer - How to use java to set the IE proxy? -


i have java proxy program used listen request internet explorer, when start program,i have set proxy in browser's internet setting. how can set browser's setting in java program automatically?

as use following way,but didn't work.

   properties prop = system.getproperties();     prop.setproperty("http.proxyhost", "127.0.0.1");     prop.setproperty("http.proxyport", "3000"); 

this microsoft support links explains how set ie proxy settings in registry. java, need identify suitable java library talking windows registry.


the way tried has no chance of working. code tweaking proxy settings jvm's in-memory "system" properties. affects nothing else.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -