How to deploy a war file in Tomcat 7

You can access your application from: http://localhost:8080/sample

Deploying or redeploying of war files is automatic by default – after copying/overwriting the file sample.war, check your webapps folder for an extracted folder sample.

If it doesn’t open properly, check the log files (e.g. tomcat/logs/catalina.out) for problems with deployment.

Leave a Comment