配置tomcat数据源的两种方法

时间:2026-02-14 18:26:12

1、1.配置tomcat安装目录conf/context.xml文件 

2.配置所在项目里面的webroot/web-info/web.xml文件 

3.最后在dao中建立connection 

配置tomcat数据源的两种方法

配置tomcat数据源的两种方法

配置tomcat数据源的两种方法

2、1.tomcat中的配置文件(tomcat\conf\catalina\localhost\hrp.xml)  

2.建立连接(WEB-INF\web.xml) 

3.dao中建立connection 

配置tomcat数据源的两种方法

配置tomcat数据源的两种方法

配置tomcat数据源的两种方法

© 2026 海能知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com