When creating a tomcat server on a local eclipse, A copy of the configuration file in the conf file in the tomca installation directory will be copied to this tomcatserver directory This tomcatserver directory is in the workspaces path, the same path as other projects The files are as follows. These configuration files are the startup parameters for starting the tomcat call Startup parameters when starting tomcat
-Dcatalina.base -D indicates a parameter, catalina.base indicates the parameter name, and the string after = indicates the value corresponding to the parameter. Use the System.getProperty("catalina.base") method to get the corresponding value. When starting here, catalina.base, which indicates the working directory of Tomcat, or catalina.base refers to an instance of Tomcat. catalina.home indicates the installation directory of Tomcat, that is, the directory containing the bin file. wtp.deploy is the target path for project deployment, or the target path for the project to be copied after compilation. This directory is equivalent to the root directory of the address http://localhost:8080/ when accessing tomcat. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Analysis of the difference between Mysql InnoDB and MyISAM
>>: JavaScript to achieve the idea of snake game
Preface MySQL is a high-speed, high-performance, ...
What is JDK? Well, if you don't know this que...
Copy code The code is as follows: <!DOCTYPE ht...
Effect: css: .s_type { border: none; border-radiu...
This work uses the knowledge of front-end develop...
apache: create virtual host based on port Take cr...
Share a real-time clock effect implemented with n...
Effect: When the slideshow moves in one direction...
Table of contents Overview 1. How to animate a DO...
This article shares the installation tutorial of ...
I spent a day on it before this. Although Seata i...
Table of contents Preface Communication between t...
In the previous article, we introduced the detail...
Table of contents Method 1: Call the function dir...
MySQL installation tutorial for Windows system do...