Friday, June 13, 2014

Spring MVC: Deploying WAR File With Tomcat

In this article we are going to cover the deployment of WAR file using Tomcat. We are performing a manual deployment to fully explain the steps involved when deploying a web application.

Deployment is the term used for the process of installing a web application (either a 3rd party WAR or your own custom web application) into the Tomcat server.

Step 01: Create a Spring MVC Hello Word project. And, deploy it with supporting Eclipse IDE.



Step 02: Get the WAR file .


Step 03: Copy WAR file to Tomcat server. And, put it in folder .......apache-tomcat-7.0.34\webapps 

 

Step 04: Start up Tomcat Server 


Step 05: Automatically, WAR file will be axtracted





Step 06: Run it

http://localhost:8080/spring-mvc-helloworld/welcome.htm