java - WebView shows blank page when running behind proxy -


as simple possible:

public class webviewsample extends application {      public static void main(string[] args) {             // tried without proxy configuration, same result.         system.getproperties().put("proxyset", "true");         system.getproperties().put("proxyhost", "http://127.0.0.1");         system.getproperties().put("proxyport", 5677);         launch(args);     }      @override     public void start(final stage primarystage) {         final webview webview = new webview();         webview.getengine().load("http://docs.oracle.com/javafx/");         primarystage.setscene(new scene(webview));         primarystage.show();     } } 

i'm using cntlm handle proxy authentication. (i'm running jdk8u5).

what's wrong ?

configuring https solves problem.

system.setproperty("https.proxyhost", "127.0.0.1"); system.setproperty("https.proxyport", "5677"); 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -