Webstart and Resources

Discussion in 'Java' started by Carsten Zerbst, Jul 22, 2003.

  1. 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



    --
    Dipl. Ing. Carsten Zerbst |
     
    Carsten Zerbst, Jul 22, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carsten Zerbst

    webstart and java.util.Preferences ?

    Carsten Zerbst, Jul 16, 2003, in forum: Java
    Replies:
    1
    Views:
    549
    S. Balk
    Jul 16, 2003
  2. JayDS
    Replies:
    5
    Views:
    4,660
    JayDS
    Aug 19, 2003
  3. Henri

    Java Webstart and JNI

    Henri, Sep 15, 2003, in forum: Java
    Replies:
    4
    Views:
    10,127
    Dale King
    Sep 22, 2003
  4. Andreas Schmidt
    Replies:
    2
    Views:
    683
  5. Russell E. Owen
    Replies:
    0
    Views:
    716
    Russell E. Owen
    Sep 8, 2006
Loading...

Share This Page