Servlet & Jsp | 1: under win10 system installed Tomcat 9

First of all, you've got to use Tomcat container is already installed the JDK , Tomcat 9 below to install only support more than jdk1.8 version .


table of Contents

Installation method steps

First, install Tomcat

Second, configure Tomcat environment variables

Third, start Tomcat

Fourth, the test Tomcat

end 


Tomcat is a JavaWeb development of container, the container can manage Servlet and Jsp components.


Installation method steps

First, install Tomcat

Open URL http://tomcat.apache.org/ , find Tomcat 9 in the leftmost column download

Select 64-bit Windows-ZIP ( PGP , SHA512 , download to a location you specify, to remember this position! I have here the path is D: \ Java

After downloading the open position to download, extract the zip file to the current folder, this folder is left, we had installed.


Second, configure Tomcat environment variables

In the page environment variables:

1, the new variable name: CATALINA_HOME, variable values ​​(tomcat position after decompression): D: \ Java \ apache-tomcat-9.0.312,

2, open the path, add the variable value:% CATALINA_HOME% \ bin


Third, start Tomcat

Enter the command in cmd window: startup

The following dialog box will appear, indicating that the startup success!


Fourth, the test Tomcat

Open your browser and type localhost in the address bar: Enter 8080, the following screen appears, the JDK and Tomcat build success! 



end 

No personal welcome attention to the public " chicken wings Programming" , here is a serious and well-behaved code agricultural one.

---- do the most well-behaved blog er, do the most solid programmer ----

Aims to carefully write each article, usually aggregated into notes will push updates -

 

Here Insert Picture Description

 

Published 138 original articles · won praise 63 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43787043/article/details/104603381
Recommended