Tomcat context path configuration Every time we deploy an application we need to setup a context path for the application. The context path will be used for accessing the application from a browser: http://SERVER:PORT/Context-Path/Resource Even if it's actually possible to deploy an application on the Root Context Path ("/") this is usually reserved in special cases, for example if you need to provide a welcome page for your server or in other circumstances. Enabling a context path The context path in Tomcat can be enabled in two ways: GUI using the Tomcat Web Application Manager Command-line configuration in server.xml In order to enable Context Path using the GUI interface , login into the Tomcat Application Manager: You can create the context path using the Deploy tab. Click on Browse and select the required WAR file. Then click on Deploy. It will take some seconds seconds to deploy the application (based on the application size) . The followin...
This blog is a friendly place where you can learn about tomcat configuration, tomcat tips and more....