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.
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.