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

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

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. Replies:
    0
    Views:
    755
  2. Josh McCulloch
    Replies:
    1
    Views:
    1,151
    Sudsy
    Aug 19, 2004
  3. Kermit Piper
    Replies:
    4
    Views:
    18,149
    Raymond DeCampo
    Feb 25, 2006
  4. Tobias Schierge
    Replies:
    0
    Views:
    2,635
    Tobias Schierge
    Apr 15, 2006
  5. han
    Replies:
    0
    Views:
    687
  6. Jubz
    Replies:
    0
    Views:
    2,637
  7. ddog
    Replies:
    3
    Views:
    8,213
  8. LprzemekL
    Replies:
    0
    Views:
    729
    LprzemekL
    Apr 10, 2008
Loading...