Deploying Web Application on Tomcat

We can deploy web application on tomcat server in different ways

  1. Deploying and running web project in eclipse on tomcat server

STEP - 1


running-project-on-tomcat1

STEP - 2

Click on "Next" button shown as in below image.
running-project-on-tomcat-2

STEP - 3

Click on Finish button shown as in below image.
running-project-on-tomcat-3

STEP - 4

Now tomcat is started see the message on console.
running-project-on-tomcat-4

STEP - 5

Stopping the tomcat server , please refer below image.
running-project-on-tomcat-5


  2. Deploying web application(war file) using tomcat admin console
upload-war-tomcat-admin


  3. Deploying web application(war file) using build script(ant) or copying war file manually into tomcat webapps folder
deploy-war-into-tomcat