I am launching application through jnlp, where i need to read the database configuration from server (Tomcat). Is it possible to connect to the host address or can i read properties file before jnlp launching the application?
问问题
984 次
1 回答
1
是否可以连接到主机地址..?
是的。甚至是沙盒 JWS 应用程序。可以“打电话回家”。
形成一个相对于应用程序代码库的 URL(通常是最简单的)。要获得代码库,请参阅BasicService.getCodeBase()
. 这是一个演示。的BasicService
(它包括源文件和构建文件)。
于 2012-01-09T16:35:56.223 回答