Saturday, April 18, 2020

How to Deploy war file in Tomcat

Description: Here I have explained how to deploy war file in Tomcat

Procedure: There are two ways to deploy war file in tomcat.

  1. Copy war file to webapp folder
  • Open webapp folder and copy sample.war file 
  • After copying file browse URL http://localhost:8080/sample 
  • Once you browse URL folder sample folder will automatically create under webapp folder
    
      2. Upload and Deploy war file remotely. 
  • Open http://localhost:8080/manager
  • Login with admin credentials [define in tomcat-users.xml] 
  • Browse war file and Deploy

No comments:

Post a Comment