Hi
if I try to launch a browser with
BrowserLauncher bl = new BrowserLauncher(); bl.openURLinBrowser("local/file 1.html");
the main browser opens with two tabs: one: file///local/file two: http://www.1.html
If I try to replace the space in the URL bl.openURLinBrowser("local/file%201.html");
he main browser opens file:///local/file%25201.html
because he replaces the "%" with %25
How to solve this problem?
I'm using BrowserLauncher2 package.
THANK YOU!!
Which O/S are you running on?
I suspect this is some flavor of Windows.
You may need to provide the protocol with the url. For example:
bl.openURLinBrowser("file://local/file 1.html");
Let me know if providing the protocol solves the problem.
Log in to post a comment.
Hi
if I try to launch a browser with
BrowserLauncher bl = new BrowserLauncher();
bl.openURLinBrowser("local/file 1.html");
the main browser opens with two tabs:
one: file///local/file
two: http://www.1.html
If I try to replace the space in the URL
bl.openURLinBrowser("local/file%201.html");
he main browser opens
file:///local/file%25201.html
because he replaces the "%" with %25
How to solve this problem?
I'm using BrowserLauncher2 package.
THANK YOU!!
Which O/S are you running on?
I suspect this is some flavor of Windows.
You may need to provide the protocol with the url. For example:
bl.openURLinBrowser("file://local/file 1.html");
Let me know if providing the protocol solves the problem.