WAR File Deployment

The web application can be deployed in a single JAR file with the extension .war:
  • From the document root directory type: jar -cvf my_app.war
  • Put this web archive file in the webapps directory.
  • Tomcat will deploy the application automatically.