This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Is it possible to supply resources after a Web Start installation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Is it possible to supply resources after a Web Start installation?" Watch "Is it possible to supply resources after a Web Start installation?" New topic
Author

Is it possible to supply resources after a Web Start installation?

Ahmet Aksoy
Ranch Hand

Joined: Apr 04, 2005
Posts: 30
Hi,
I want to install my application, and many empty dictionary directories using Web Start.
After the installation, the required directory structure will be ready (but empty).
Then, if I copy the required dictionary files into the related directories, is it possible to let my application to read those new resources?
Ahmet Aksoy
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

I think I do something similar with our application. The application supports spell checking in multiple languages.

The webstart is responsible for downloading the spelling.jar files that contain the dictionary words files (as specified in the .jnlp file), but the application is responsible for making sure that the directory structure exists and the files get copied into that directory from the downloaded .jar file. I don't believe it is possible for webstart to do this part for you. I do all this as part of application initialization before the application is presented to the user.

Of course your application can read those files as long as the files exist in the expected place.

Hope this helps.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to supply resources after a Web Start installation?
 
Similar Threads
157 Question Help and Resourses
ibm websphere test 157 for websphere studio application developer 4.0.3 for windows
how to start application after pressing a particular number?
Can an application read the resources outside of its own directory structure?
how to create Dynamic jnlp files