How to use properties files in JBoss 4.0.2?

Discussion in 'Java' started by Kermit Piper, Feb 25, 2006.

  1. Kermit Piper

    Kermit Piper Guest

    Hello,

    Where would I place the properties file in the classpath for the web
    application and how would I load it either via ResourceBundle or
    ClassLoader.getResource(). I'm not sure about how to go about doing
    this.

    Thanks in advance,
    KP
     
    Kermit Piper, Feb 25, 2006
    #1
    1. Advertising

  2. Kermit Piper

    Tajonis Guest

    I am not for certain about JBoss but in OC4J it would be placed in the
    WEB-NIF directory
     
    Tajonis, Feb 25, 2006
    #2
    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. Kermit Piper
    Replies:
    4
    Views:
    17,798
    Raymond DeCampo
    Feb 25, 2006
  2. han
    Replies:
    0
    Views:
    493
  3. Jubz
    Replies:
    0
    Views:
    2,323
  4. ddog
    Replies:
    3
    Views:
    7,574
  5. LprzemekL
    Replies:
    0
    Views:
    544
    LprzemekL
    Apr 10, 2008
Loading...

Share This Page