Tomcat Hello World Sample
This project contains a simple servlet application.
Run the app locally
- Install Apache Maven
- Install Apache Tomcat
- cd into this project's root directory
- Run
mvn clean install
to build the target/TomcatHelloWorldApp.war
file
- Copy
target/TomcatHelloWorldApp.war
to your Tomcat's webapps
folder
- Start Tomcat by running its
bin/startup.sh
script
- Access the running app in a browser at http://localhost:8080/TomcatHelloWorldApp/