该项目为魔乐在线智囊团的小项目,应用struts+spring+hibernate+myeclipse5.1+tomact6.0+连接池
实现。
由于项目较大,故已删除lib下的所有.jar文件。
1、用户可先在myeclipse中建立一个web项目,然后依次加入spring。hibernate。struts的jar
文件。和mysql 5.0.4的驱动包。然后把所有驱动复制到该项目中。
2、用myeclipse直接导入工程。
3、在tomact6.0下的conf文件夹里用 连接池.txt 的内容替换 context.xml 的内容 建立全局连接池。
4、把mldn.sql导入到mysql数据库中。
5、首页 http://localhost:8888/MyZhiNangTuanDemo
6、用户管理后台http://localhost:8888/MyZhiNangTuanDemo/jsp/user/index
7/管理员后台http://localhost:8888/MyZhiNangTuanDemo/jsp/admin/default.htm
评论1
最新资源