Project introduction
Project Source:
https://github.com/1462656075/car
This system is based on JSP+SSH+ MySQL +DBCP car rental system. In contemporary development, the use of SSH has been gradually replaced by SSM, but that doesn’t mean we don’t need to learn SSH, the system is simple, but fully functional can be used as an entry project for SSH framework beginners.
Difficulty level: Medium
Technology stack
The editor
The Eclipse Version: 2019-12 (4.14.0)
The front-end technology
Basis: HTML + CSS + JavaScript
Framework: jQuery +Bootstrap+Apache Echarts
The back-end technology
SSH (struts 2 + spring + hibernate)
Database: MySQL 5.7.27 (for personal testing)
Database connection pooling: DBCP
JDK version: 1.8.0_181 (for personal testing)
Tomcat version: 7.0.47 (for personal testing)
Run locally
Eclipse environment preparation
1. The eclipse new JDK
2. New tomcat eclipse
Import the project
If in doubt, please check
Video version.
1. Download zip directly decompress or install git after executing the clone command
git clone https://github.com/1462656075/car
If the download is too slow, copy the GitHub repository to Gitee. View the video
2. Import the project using Eclipse, configure the JDK, Tomcat, and the required JAR packages. The JAR packages that the project depends on are in the WebContent/ web-inf /lib folder.
3. Open Navicat For MySQL, create database CARS, and run file CARS.sql.
4. Modify database related contents in config/jdbc.properties.
5. POST CARMYUpload folder to Tomcat at /upload path. If not configured, the images in the project are not accessible.
6. Modify the release configuration to remove the project name, otherwise it cannot be accessed normally.
7. Published to tomcat, specific access link to see the tomcat configuration, if not modify the http://localhost:8080/login_index.do? Role =1 is the home page. Default account: ZS Default password: 123
http://localhost:8080/login_login.do?role=2 to back office login page The initial account: admin initial password: 123
Pay attention to
- This project does not declare the MySQL, JDK, Tomcat version, the above version number is the personal test version.
- Be careful to modify the database-related content in config/jdbc.properties.
- Publize the CarmyUpload folder to Tomcat at the /upload path. If not configured, the images in the project are not accessible.
Project screenshots
The statement
- This project is collected on GitHub. I just want to explain the technology, points of attention and how to start it, so as to help you to learn and communicate.
- If you can’t download the project through the GitHub address or it can’t work properly, you can send me a message and I will help you for free.
Recommended reading
- JSP+Servlet+JDBC+DBCP2 to achieve online book system
- JSP+Servlet+JDBC implementation of Shine online book city
- JSP+Servlet+JDBC cloud auto repair background management system
- JSP+Servlet+JDBC implementation of student information management system
- JSP+Servlet+C3P0+ MySQL to achieve YCU movies website
- JSP+Servlet+C3P0+ MYSQL library management system
This has been included in the individual making warehouse https://github.com/coderzcr/JavaWeb-Project-Source-Share, welcome to the Star.