配置tomcat数据源的两种方法
1、1.配置tomcat安装目录conf/context.xml文件
2.配置所在项目里面的webroot/web-info/web.xml文件
3.最后在dao中建立connection
2、1.tomcat中的配置文件(tomcat\conf\catalina\localhost\hrp.xml)
2.建立连接(WEB-INF\web.xml)
3.dao中建立connection
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:95
阅读量:120
阅读量:146
阅读量:89
阅读量:61