Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can an application read the resources outside of its own directory structure?

 
Ahmet Aksoy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can an application read the resources outside of its own directory structure after a Web Start installation?
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. This isn't really anything to do with webstart. It is more of a file path programming problem (which is usually a simple enough thing).

For example, our webstart delivered application references a lot of data files at C:\data\ on each computer that it is run on.

Cheers, Jared.
 
Ahmet Aksoy
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jared,
I'll try it as soon as possible.
Cheers,
Ahmet Aksoy
 
Ed Ewing
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get unlimited access to the disk, you will need to set the following tag in the jnlp file:



For this to work, you will also need to sign all the jar files using "jarsigner".

If you don't have a signed jar, you might need to make use of the "JNLP API" to access the file system. (I say might because I'm not sure. You might be able to read a file without a signed jar. I always sign mine.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic