Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About java web start: how to access(read/write) resource file

 
Patrick Zhang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to build a program using java web start. But i find it's difficult to access config files(.XML etc.) because JWS only allow signed-jar.

Could any one help me?
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Where are the config files located? If they are bundled inside your application jar you need not bother about the permissions.
We have a forum dedicated for JNLP and JWS. I will move this thread there for you.
 
Patrick Zhang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:Welcome to the Ranch.

Where are the config files located? If they are bundled inside your application jar you need not bother about the permissions.
We have a forum dedicated for JNLP and JWS. I will move this thread there for you.


Tks vy much for your quick reply. the config files is published with application. If i put them into jar, could i write them when app is running? and how?

 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tks vy

Please UseRealWords

If you want to write to the file, then I am afraid there is no workaround for the signed jar.
In case you need help signing your jar, this will help you get started http://java.sun.com/docs/books/tutorial/deployment/jar/index.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic