Home >Web Front-end >JS Tutorial >Detailed explanation of Tomcat for beginners

Detailed explanation of Tomcat for beginners

php中世界最好的语言
php中世界最好的语言Original
2018-03-19 14:13:562351browse

This time I will bring you a detailed explanation of Tomcat for beginners. What are the precautions for beginners to use Tomcat? The following is a practical case, let’s take a look.


The picture above is the solution result of 5 hours this afternoon

1:InstallationYou have to be patient with the software. This time, the software was usable during the first week of installation and then unusable for the second week. Then I thought about why every day. In fact, it would be okay otherwise. Maybe the software was too There are many reasons,

# In the end, I feel that it is caused by weak basic skills; I installed it at 19.32 on the last day of the second Sunday;

2. Start the installation. For us developers, java and JDK are necessary for computers, followed by the configuration of environment variables JAVA_HOME D:\javajdk path %JAVA_HOME %\bin;


2.Tomcat download: https://tomcat .apache.org/download-90.cgi A higher version is better;

can be installed directly, but please pay attention to the prompts and specific steps for Tomcat installation: https://jingyan.baidu.com/article/2c8c281daa77aa0008252aff .html


3. Run directly to Tomcat\bin\startup.bat (.bat file is a command line batch processing file);

Click at this time If a black box appears and flashes by, it means that the environment is not configured properly; at this time, you are using the command line DOS test, cd/tomact/bin/startup.bat as shown below:


If you configure the environment and run it, the following picture will appear

It will be successful at this time;

You Go to the browser and enter localhost: 8080

, and the installation success page will appear;

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website !

Recommended reading:

Basic knowledge of html in the front-end

Css float box Model position

The above is the detailed content of Detailed explanation of Tomcat for beginners. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn