开发者

Text File + JNLP

I’m trying to figure out how to include a reference to a external data file (in text form) that I want distributed along with my applicatio开发者_运维知识库n via Web Start (JNLP). Sifting through the documentation for the JNLP structure, I see that you can include references to JAR, nativelib, and extensions – however, I don’t see a means to include a text file resource. How can I accomplish this so that Web Start will download the text file from the server and store it locally along with my application?


I don't believe you can do that.

You can, however, put it on your classpath (in a jar) and reference it through getResourceAsStream().


i just checked that jnlp file is also available as jar file also and as exe file also, so can i open these in a java gui and load my xml file

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜