Deploy a Tomcat Application Statically
Welcome to this hands-on lab, where we'll deploy an application on Tomcat via the CLI in a static manner.
We are using Apache's Tomcat, a Java-based application platform built around deploying and managing Java Web Applications. The server provided in this lab environment is running Red Hat Enterprise 8 and has Tomcat 9 pre-installed for you. The Tomcat instance is available for you on port 8080.
You will log into the server via the CLI and deploy an application after first stopping Tomcat, then starting Tomcat again and noting what happens.
After stopping Tomcat a second time, you will deploy a second version of the application, then start Tomcat yet again. The application's web page should show the new version of the application.
Both of the applications will be provided in a folder on the Tomcat server for your use.