Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing property or spring config files from Java Web Start

843802Mar 13 2008 — edited Mar 17 2008
I'm new to web start so this may be a very basic question to some of you guys:

My application accesses a x.properties file and a client.spring.xml file. I have packaged them in the jar file that I reference in the resources section. When my application tries to access these files I get an exception.

The question is, how do I access these files? Do I need a classloader? How do you load a properties file or a config file in a classloader?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2008
Added on Mar 13 2008
1 comment
101 views