Quickly get started deploying JavaWeb with Tomcat (IDEA)

1. Download Tomcat
2. Choose the version you need, the latest version is OK Insert picture description here
3. My computer is win10 64bit, download according to your needs Insert picture description here
4. Below is my decompression path, also decompress according to your needs, it is recommended not to C drive Insert picture description here
5. Introduce each folder
bin: the directory stores the script files for starting and stopping the Tomcat service of each platform
conf: stores the configuration files of various tomcat servers (such as port numbers)
lib: stores the jar package
logs: stores the logs, stores the Tomcat service running In the log, if there are errors, you can find
temp: Temporary files at runtime
webapps: store resources (Java programs) that allow clients to access
work: store the Servlet file after Tomcat converts JSP
6. Create a new project
7. According to the next step In one step, you can
Insert picture description here
name Insert picture description here
IDEA and configure Tomcat by yourself.
Insert picture description here
Insert picture description here
Insert picture description here
This page is
Insert picture description here
OK just now .
You can change this to achieve the effect of changing the address.
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/A_Tu_daddy/article/details/112910818