T
Tomas
Hi,
I know that the class BrowserLauncher is not part of the standard java api.
But i try anyway to ask this question here and hope somone else here use
this class and can help me. Now my question:
Can you use relative paths when opening an Browser with BrowserLauncher?
The class works well when i use an absolute path but not with relative paths
or i am making something wrong. The thing is that i want to open a browser
with a html file on my pc like this:
BrowserLauncher.openURL("catalog/myFile.html")
Nothing happends when i try like this. But with an absolute path like this
it works:
BrowserLauncher.openURL("file:///E:/catalog/catalog2/myFile.html")
Any suggestions?
Best Regards
/Tomas
I know that the class BrowserLauncher is not part of the standard java api.
But i try anyway to ask this question here and hope somone else here use
this class and can help me. Now my question:
Can you use relative paths when opening an Browser with BrowserLauncher?
The class works well when i use an absolute path but not with relative paths
or i am making something wrong. The thing is that i want to open a browser
with a html file on my pc like this:
BrowserLauncher.openURL("catalog/myFile.html")
Nothing happends when i try like this. But with an absolute path like this
it works:
BrowserLauncher.openURL("file:///E:/catalog/catalog2/myFile.html")
Any suggestions?
Best Regards
/Tomas