0 Replies Latest reply on Jun 26, 2007 1:06 PM by mildmannered

    Configuration file

    mildmannered

      I would like to provide some configuration information for my webapp from a properties file on the classpath.

      I would like the user to be able to hand-edit this file, or to update it via a web-based installation wizard from within the app (so that they can just deploy the war, and manage the rest of the configuration from within the wizard).

      Is there a "correct" place to locate the file. conf seems natural, but it feels wrong to be writing to files there.

      Keeping manual and automatic configurations separate, in conf and data respectively is one option, although I'd rather keep them in the same place, and I don't want to add unnecessary directories to the classpath if I can avoid it.