java web 一般数据库配置文件是放在哪个地方的。
我是用我是用tomcat搭建的环境
光阴似箭催人老,日月如移越少年。
Under tomcat, it is usually under WEB-INF/classes under your webapp
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
Under tomcat, it is usually under WEB-INF/classes under your webapp
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