Reputation:
My web app name is tom..I mean url says..http://localhost:8080/tom/index.do
i need to change my url to http://localhost:8080/dave/index.do
..
where exactly I need to make the changes to achieve this..
Upvotes: 3
Views: 7652
Reputation: 22451
It can usually be be done by simply renaming the ".war" file under Tomcat's webapps
directory (e.g. from "tom.war" to "dave.war"). If you don't see a war file but an exploded directory, you can also rename that directory.
This should work in most basic setups where no context configuration file is used.
Upvotes: 4