1

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 application 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?

Thanks!

4

1 回答 1

0

我会将它存储在应用程序的 JAR 中,并通过类加载器将其作为资源流加载。

于 2010-07-18T01:55:19.660 回答