I have a b4j server running and with webview, In Chrome it works perfectly
If I use Webview I cannot get the local page loaded served by b4j server
If I change webview to an external identical page , it loads
I tried something very simple, with and Without http:// , tried 127.0.0.1, Local IP and even localhost
has anyone had the experience before ? How do I solve it ?
Thank you
If I use Webview I cannot get the local page loaded served by b4j server
If I change webview to an external identical page , it loads
I tried something very simple, with and Without http:// , tried 127.0.0.1, Local IP and even localhost
has anyone had the experience before ? How do I solve it ?
Thank you
Simple code:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private xui As XUI
Private WebView1 As WebView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("Layout1")
MainForm.Show
WebView1.LoadUrl("127.0.0.1")
End Sub