web.xml已经写了
<resource-ref>
<description>sybase db</description>
<res-ref-name>jdbc/Sybase230</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>sybase db</description>
<res-ref-name>jdbc/Sybase230</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
解决方案 »
- Hibernate 关于主键机制问题
- java是否有能替代JColorChooser的组件或其它替代方法,颜色板中的颜色条是阶梯状的
- 啥问题呢??
- socket 接收页面的问题
- spring mvc的MultiActionController绑定数据与form标签的结合使用问题?
- java门外汉提问
- 使用DispatcherAction,如何避免获得空白页?
- 关于EJB的
- struts的action返回的list是,其对象中包含了对象,如何处理?如下代码不能正确解析。工作做不完了:(
- 关于CMP的一个问题
- jb8,wl7,部署cmp报错,数据源问题
- Win2000下做JAXP竟然出现这种问题!
<resource-ref>
<description>sybase db</description>
<res-ref-name>jdbc/Sybase230</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
...</context>
在你要用到连接池的项目中,其中"jdbc/myoracle"是你的全局资源名称