search

Home  >  Q&A  >  body text

java web的配置文件在哪

java web 一般数据库配置文件是放在哪个地方的。

我是用我是用tomcat搭建的环境

大家讲道理大家讲道理2834 days ago551

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:30:34

    Under tomcat, it is usually under WEB-INF/classes under your webapp

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:30:34

    The compilation location of the configuration file is generally under the classpath of the current project,

    So we often like to put the configuration files under src,

    Of course, some people have proposed that resources at the same level as src are used to specifically place configuration files

    reply
    0
  • Cancelreply