Installation and configuration of Tomcat


Start to learn java web, web project needs server, my computer is installed with Tomcat.

Tomcat website:

Recommended download tomcat9 address:


There is a note when decompressing. The unzipped folder cannot be in Chinese

Environment configuration:

Configuration environment after download: Java_ HOME:C :\Program Files\Java\jdk1.6.0_ This is the root directory where JDK is installed. This is configured when installing eclipse. I use eclipse

Test under bin document folder in Tomcat

After running, enter: http://localhost :8080/


OK, this Tomcat will be fine

If it doesn’t work, it means that the environment is not configured well


Now configure the server in Eclipse:


Note: a hole is added here. If the version of eclipse is too low or the Chinese version is cracked, there will be no server in the preference to download the plug-in. However, I suggest that the next eclipse be started

Download Reference:




After you click finish, a server file will appear in the eclipse project bar, which will be configured

Right click to create a web project: File New > other > Web > dynamic web project




After the project is created, open a webcontent folder and right-click: webcontent > other > JSP > finish




That’s it










Open the browser after the console changes to this one


Open browser input


In this way, the whole process is completed. If you don’t understand, you can leave a message, or add qq2979100039. If there is any deficiency, I will change it. Thank you