我正在创建一个Web应用程序。在我的应用程序中,我需要创建我的管理面板作为独立应用程序。我需要在网络浏览器中打开应用程序吗?有可能吗?如果是,怎么做?我正在使用SOAP作为我的Web服务。
答案 0 :(得分:0)
您可以使用 Java - URL Processing
示例:URL url = new URL("http://localhost:8080/myapplication/firstpage/");
或者您可以通过命令行打开网页:
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("start http://localhost:8080/myapplication/firstpage/");