Tomcat - Context root of an application

by
Jeremy Canfield |
Updated: May 25 2024
| Tomcat articles
Context root is the endpoint used to request a certain application. In this example, the context root is "/beta", which is used to get the beta application.
When deploying your WAR to your Tomcat application server, the filename of your WAR is used to determine the context root.
filename | context root |
example.war | /example |
foo#bar.war | /foo/bar |
Did you find this article helpful?
If so, consider buying me a coffee over at