• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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

 
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?
 
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
 
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
Boost this thread!