随笔分类 -  j2ee案例

上一页 1 2 3 4 5
sax解析xml案例一
摘要:student.xml文件<?xml version="1.0" encoding="UTF-8"?><StudentInfo> <student> <name>赵海波</name> <sex>男</sex> <lesson> <lessonName>Spring整合开发</lessonName> <lessonScore>85</lessonScore> </lesson> <lesson&g 阅读全文
posted @ 2011-03-11 11:30 Ruthless 阅读(17565) 评论(0) 推荐(2) 编辑
Tomcat配置多数据源
摘要:测试的tomcat为apache-tomcat-6.0.18 ,数据库为mysql和oracle。配置步骤如下:1、把数据库的JDBC驱动放入D:\apache-tomcat-6.0.18\lib目录下2、在D:\apache-tomcat-6.0.18\conf\web.xml文件中,将下面代码加入到web.xml中: <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/mysql</res-ref-name> <res-type 阅读全文
posted @ 2011-03-03 16:09 Ruthless 阅读(10237) 评论(1) 推荐(3) 编辑

上一页 1 2 3 4 5