网页文件是当前目录下的。
请教高手帮我提示代码写上。谢谢了

解决方案 »

  1.   

    Runtime rt = Runtime.getRuntime();
          try {
            rt.exec("rundll32 url.dll,FileProtocolHandler " +
                    new File("help/index.htm").getAbsolutePath());        System.out.println("rundll32 url.dll,FileProtocolHandler " +
                               new File("help/index.htm").getAbsolutePath());      }
          catch (IOException ex) {
            System.out.println("Menus Error!");
          }