tomcat deployed position and the difference between war and war exploded intellij idea of deployment projects
From https://blog.csdn.net/u013041642/article/details/79475095
http://www.seotest.cn/jishu/32877.html
First, explain what is the difference in intellj idea in the target directory and directory out: https: //blog.csdn.net/qq_26591517/article/details/80731088
content:
target is stored in compiling the results of a single Module. out of all stored Module (modules) compiled the results of this project.
If you specify compile the results for a Module path, it will not re-export to a folder out.
You can set the directory Project compiler output in the Project Structure in the Project tab. After selecting a module in the Modules, the Paths tab may be provided on the right side of the module directory Compiler output.
He went on to explain the difference between war and war exploded tomcat deployment:
2.war exploaded called heat mode can deploy mode, generally used in the development, it put folders, pages, and move to deploy Tomcat folder inside, and then published to the server.
war: This is the first labeled as war package, and then released, the normal release of this is to use. WEB project is to form packets to the server to
Under the project target directory will generate war package, and after extracting war package will be deployed to the tomcat webapp directory.
Note: If the application-context is set to /, there will be no war after extracting the file under tomcat directory, only the specified file directory, will generate a folder, this folder as the project's root directory