How to deploy a Java web application on Tomcat

Tomcat is a very popular web server/servlet container that can host Java web applications which are made up of servlets, JSP pages (dynamic content), HTML pages, javascript, stylesheets, images… (static content).

This article describes the most common ways about how to deploy a Java web application on Tomcat, include the followings: