请问这是什么问题啊?
我是用MyEclipse写的,在Tomcat的管理环境下配置的JNDI
http://localhost:8080/admin/jdbc DataSource
配置的是jndi的名字是 : jdbc/mysql
在web.xml 里面添加了<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
我是用MyEclipse写的,在Tomcat的管理环境下配置的JNDI
http://localhost:8080/admin/jdbc DataSource
配置的是jndi的名字是 : jdbc/mysql
在web.xml 里面添加了<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货