content
5, the catalog file is perfect
1. Maven tools
1. About maven
Maven is a project construction tool. As long as the created project follows the Maven specification (called Maven project), it can be managed by Maven: compilation, packaging, etc.
2. Install maven
If you have already configured JDK when you install idea, then you don't need to install maven, idea already comes with maven. If the JDK is not installed and configured, the specific download and configuration process is available online, which is relatively simple, so I won't go into details here.
3. Use maven
4. Know pom.xml
pom.xml is the core configuration file in the maven project, xml is a file format, this format is also a tagging language, similar to html
5, the catalog file is perfect
6. Import database dependencies
Maven Repository: Search/Browse/Explore (mvnrepository.com)https://mvnrepository.com/
Go to the corresponding jar package on the official website, copy and paste it into the idea
2. Tomcat
1. What is Tomcat
Tomcat is an HTTP server. We have learned the HTTP protocol earlier, and we know that the HTTP protocol is the format of the interactive data between the HTTP client and the HTTP server. At the same time, the HTTP client is also constructed through ajax and Java Socket. The HTTP server we It can also be implemented through Java Socket. Tomcat is an open source free and widely used HTTP server based on Java.
Tomacat is an HTTP server. Think of an e-commerce platform like Taobao. The webapp is a Taobao store. The Servlet running on tomcat is the Taobao platform that provides services to the store.
2. Download Tomcat
Apache Tomcat® - Welcome!https://tomcat.apache.org/
Download and unzip
Enter the above URL in the browser to enter Tomcat. Success here means the installation is successful.