loadURL does not work

Having problems with building or using the JCEF Java binding? Ask your questions here.

loadURL does not work

Postby guich » Wed Jul 31, 2019 3:26 am

Hi,

I'm using jCEF and am trying to do a simple thing: load an url before the first url is shown.

I tried this:

browser = client.createBrowser("127.0.0.1", true, false); // already tried: about:blank, "", null, http://www.google.com
... later,
browser.loadURL("www.google.com");

The results is that only the address passed on createBrowser works... the loadURL fails, and no logs are sent to console, even using LOGSEVERITY_VERBOSE

any clues?

thanks

guich

Ps: i'm using binaries from https://mvnrepository.com/artifact/com. ... oraig/jcef
guich
Techie
 
Posts: 19
Joined: Tue Jul 30, 2019 10:11 am

Re: loadURL does not work

Postby magreenblatt » Wed Jul 31, 2019 7:59 am

You need to pass fully qualified URLs to loadURL.
magreenblatt
Site Admin
 
Posts: 9831
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 2 guests