1 Reply Latest reply on Feb 16, 2008 10:06 PM by Peter Johnson

    configuration of a war, .properties in /default/conf ?

    tomerbd2 Newbie

      Hi,

      I have a war and inside the war i read configuration from a properties file.
      I would like to have the properties file outside of the war (so wont need to unzip and rezip it for configuration changes). I do need these configuration changes at runtime.
      What is the best way to do it? hold the .properties in a classpath? (I prefer not to do it). I thought of doing it like having the .properties file in the default/conf/ directory just like there is over there log4j.xml. How can I do that? How can I load configurations from the default/conf path? any environment variable that will point to that path? any standard way of doing it?

      Thanks,

      Tomer