Reading properties from tomcat

前端 未结 6 1477
逝去的感伤
逝去的感伤 2020-12-15 23:02

What is the best practice for reading config file(s) for your application. Which folders in tomcat server are \"on the classpath\".

I tried placing my config file in

6条回答
  •  独厮守ぢ
    2020-12-15 23:25

    Put your files in your webapp's WEB-INF/classes. This is the default classpath directory. conf if for Tomcat internals only.

提交回复
热议问题