項目來源於: https://github.com/wenlongup/LostAndFound
因原github倉庫無數據庫文件,通過本人修改,現將該倉庫從新上傳至我的gitee倉庫。
https://gitee.com/coderzcr/LostAndFoundcss
本系統基於JSP+Spring+SpringMVC+Hibernate+Mysql的校園失物招領網站。本系統沒有使用經常使用的SSM或者SSH框架,而是
以Spring+SpringMVC+Hibernate三個框架結合來完成。這樣能完美詮釋框架是服務於服務,只要某個框架利於您的開發進程,就沒必要拘泥於框架,使用最熟練最高效的便可。html
難度等級:中等前端
Eclipse Version: 2019-12 (4.14.0)java
基礎:html+css+JavaScriptmysql
Spring+SpringMVC+Hibernategit
模板引擎:JSPgithub
數據庫鏈接池:C3P0sql
數據庫:mysql 5.7.27(我的測試使用)數據庫
jdk版本:1.8.0_181(我的測試使用)
tomcat版本:8.5.34(我的測試使用)
如有疑惑可查看 視頻版本。
1.下載zip直接解壓或安裝git後執行克隆命令。
git clone https://gitee.com/coderzcr/LostAndFound.git
2.使用eclipse導入項目,配置jdk、tomcat和所需jar包。
項目所依賴jar包在WebContent/WEB-INF/lib文件夾下。
3.打開Navicat For Mysql,建立lostandfound數據庫,並運行sql/lostandfound.sql。
4.修改resourcedatabase.properties中數據庫相關的內容。
5.發佈到tomcat中,具體訪問連接看tomcat配置,若未修改則http://localhost:8080/LostAndFound爲登陸頁面。
登陸帳號2013031308 2013031308
http://localhost:8080/LostAndFound/admin 爲管理員頁面.
帳號:admin@qq.com 密碼:lgladmin
本篇已收錄於我的GitHub倉庫https://github.com/coderzcr/JavaWeb-Project-Source-Share,歡迎Star。
歡迎關注個人公衆號「張有路」,原創技術文章第一時間推送。