try {
Runtime.getRuntime().exec("Rundll32.exe url.dll, FileProtocolHandler " + "index.html"); //在Windows平台上运行系统默认Web浏览器打开帮助页面
} catch (Exception ex) {
System.out.println(ex);
}在win2000上通过,用和.html关联的浏览器打开叶面
Runtime.getRuntime().exec("Rundll32.exe url.dll, FileProtocolHandler " + "index.html"); //在Windows平台上运行系统默认Web浏览器打开帮助页面
} catch (Exception ex) {
System.out.println(ex);
}在win2000上通过,用和.html关联的浏览器打开叶面
url.dll出错
丢失条目:FileProtocolHanle
现在的错误是无法打开index.html