I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name
.
on tomcat v.7 (vanilla installation)
in your conf/server.xml add the following bit towards the end of the file, just before the closing tag:
WEB-INF/web.xml
Note that docBase attribute. It's the important bit. You either make sure you've deployed app_name before you change your root web app, or just copy your unpacked webapp (app_name) into your tomcat's webapps folder. Startup, visit root, see your app_name there!