|
Swings HTML URL problem
Hi,
I have one swings application which when ran has a menu item which opens the HTML path from local system(Like - file:///C:/index.html )....If the file is there then it is working properly using below code
String browserPath = "C:\Program Files\Internet Explorer\iexplore.exe";
String url = "file:///C:/index.html";
Runtime.getRuntime().exec(browserPath+" "+url);
But if the path is changed to (Like - file:///C:/index.html#section1) then the real problem is occuring....In IE it is loading the same index.html but it is not directly calling the #section1
Can any one please help in this problem
|