Topic: 配置数据源出错

  Print this page

1.配置数据源出错 Copy to clipboard
Posted by: white_clouds
Posted on: 2005-01-31 17:53

我在struts中配置数据源时按照网上做如下,但是出现getDataSource这个函数找不到,是什么原因
DataSource dataSource = getDataSource(res, "userDB");
Connection conn = dataSource.getConnection();


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923