摘要: 1.首先要导入jar文件: c3p0-0.9.5.1.jarcommons-beanutils-1.7.0.jarcommons-collections-3.2.jarcommons-dbutils-1.6.jarcommons-lang-2.4.jarcommons-logging-1.0.4.j 阅读全文
posted @ 2016-03-15 09:04 在路上的牛小牛 阅读(2249) 评论(0) 推荐(0) 编辑
摘要: 初步认识了struts2,并与hibernate进行整合,完成了一个登录的案例,下面贴源码   1.实体类User   2.实体类的映射文件 3.hibernate.cfg.xml 4.action类 5.dao层 5.1 BaseDao public interface BaseDao { pub 阅读全文
posted @ 2016-03-15 08:42 在路上的牛小牛 阅读(451) 评论(0) 推荐(0) 编辑