title: Javafx webengine unable to load localhost sites
body: <p>I have a local server and I am developing a website locally. When I open the web browser and type </p>
  
  <pre><code>http://mysite
  </code></pre>
  
  <p>the page loads but when I write:</p>
  
  <pre><code>WebView view = new WebView();
  WebEngine engine = view.getEnginne();
  engine.load ("http://mysite");
  </code></pre>
  
  <p>Nothing loads.
  Is it that Javafx web engine cannot load files on localhost or what am I doing wrong. </p>