2008-03-21
JNDI和JDBC在Tomcat下配置?晕了.........
1,WebContent/META-INF/context.xml中的<ResourceLink name="jdbc/WallpaperDB" global="jdbc/WallpaperDB" type="javax.sql.DataSource" />有什么用?
2,与WEB-INF目录下的web.xml文件加入以下内容
<resource-ref>
<description>connectDB hcibe</description>
<res-ref-name>jdbc/connectDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
有什么区别?
JNDI和JDBC在Tomcat下配置?晕了.........
web.xml和context.xml,server.xml
2,与WEB-INF目录下的web.xml文件加入以下内容
<resource-ref>
<description>connectDB hcibe</description>
<res-ref-name>jdbc/connectDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
有什么区别?
JNDI和JDBC在Tomcat下配置?晕了.........
web.xml和context.xml,server.xml
- 18:08
- 浏览 (804)
- 评论 (0)
- 分类: Server
- 发布在 Database圈子 圈子
- 相关推荐
发表评论
- 浏览: 29364 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
链接
最新评论
-
对浏览器中的context menu ...
Drag dropper
-- by whqida -
Spring中的load-time weav ...
没啥,有些class不在spring的管理之中,通过 load-time wea ...
-- by ray_linn -
对浏览器中的context menu ...
别搞笑了, 这是浏览器的 Context Menu? 这只不过是响应了鼠标右击事 ...
-- by fcoffee -
IE tab在Firefox里开发时 ...
firebug只能用于ff, 并不能用于ff下的ietab, 原因显而易见.如果 ...
-- by fcoffee -
IE tab在Firefox里开发时 ...
还网告知 该如何操作呢 我还是要到ie下再调试啊
-- by jianfeng008cn






评论排行榜