How to deploy war in tomcat 7

+1 vote
87 views
asked Dec 31, 2012 in Tomcat by john (4,220 points)

 

I have copied the sample.war file in webapps directory of tomcat.

I can acess localhost:8080 .

now how will tomcat deploy it , i mean do i need to open it in browser .

how to access application.

1 Answer

0 votes
answered Dec 31, 2012 by sahana (2,250 points)

 

http://localhost:8080/sample

                 Deploying of wars is automatic by default - 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.

...