SpringTest
Struts2、Spring4结合开发班级信息小项目,内附数据库,部署环境Oracle11g、MyEclipse或者eclipse,使用反射机制实现并封装基本BasoDao类,使用面向接口编程思维实现,选用dbpool连接池,只是独自查询,目的在于对Struts以及Spring结合。待部署成功并启动Tomcat以后,打开浏览器,在地址栏输入:localH/OST:8080/SpringTest/ClassInfo/clsManage!queryAllClsInfo,就Ok了,希望可以帮助初学者!(Struts 2 and Spring 4 combine the development of small class information projects, which include databases, deployment environments such as Oracle11g, MyEclipse, or eclipse, use reflection mechanisms to implement and encapsulate basic BasoDao classes, use interface oriented programming thinking, and use dbpool connection pools to query independently. The goal is to combine Struts with Spring. After the deployment is successful and Tomcat is started, open the browser and enter: localH/OST: 8080/SpringTest/ClassInfo/clsManage! QueryAllClsInfo, OK, I hope it can help beginners!)
页:
[1]