Article directory
Package JavaWeb files (war) in IDEA and deploy them to run in Tomcat
1. Packaging
1. Method one
Copy the xxx.war package file and put it into Tomcat later.
2. Method two
2. Deploy to Tomcat
Enter the webapps directory
and place the copied xxx.war file into the webapps directory.
3. Start the Tomcat server
4. Browser access
http://localhost:8080/demo05_1-1.0-SNAPSHOT/