Webstart and Resources

C

Carsten Zerbst

Hi, I'm just trying to deploy some apps using webstart.
Usually the applications are driven by a configuration file, for webstart
I changed the code to read it from resources. While this works fine
locally, it breaks in webstart.

I have two jar files, one with a PluginManager who tries to read the
configuration file using

URL url = PluginManager.class.getClassLoader().getResource( "plugins.xml"
);


The file itself is contained in another jar file (where no class is
instantiated at that point in time) but is not found. How could I
circumvent this type of problem ?

Thanks, Carsten
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,186
Latest member
vinaykumar_nevatia

Latest Threads

Top