Release of web project

web container uses the compiled project and some corresponding js,css,html to be placed in the webapp folder of tomcat after tomcat, development, and then start tomcat to access the project.
there are some build tools that will package the project into war packages, or jar packages (what exactly does this operation do? Do you only package .class files, or do you also include js,css,html files?)

Web
Mar.13,2021

if it is a server-rendered project, all the content will be packaged into a war or jar package, and if it is war, it will be placed in the webapp file of tomcat, and tomcat will automatically decompress it. If it is a jar, such as springboot, you can directly java-jar xxx.jar to start the project.

Menu