From the course: Learning Apache Tomcat

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Deploy with Tomcat manager

Deploy with Tomcat manager - Tomcat Tutorial

From the course: Learning Apache Tomcat

Deploy with Tomcat manager

- [Narrator] Deployment is one of the main uses of the Manager UI in Tomcat so let's try that out right now. Scroll down a little to the deployment section. This first part is to deploy from a URL which requires some extra steps and we're not going to do it in this course. We're going to just deploy by uploading a war file. Remember how that version column displayed up above here where it says none specified? We can set versions for our apps by using specific naming conventions for the war file. So let's try that out right now. I've got an explorer window open with my exercise files and I'm going to make a copy of hello.war and change the name here. Now the way you specify a version is between the name of your application and the dot war. So you put two hash signs and then the version. Now this can be anything, it doesn't need to be a numbered version. So for example I could say feature for a feature branch I'm working on or if I was using GIT to track my code I could use the shaw of…

Contents