This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Change my application URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Change my application URL" Watch "Change my application URL" New topic
Author

Change my application URL

Sarath Koiloth Ramath
Ranch Hand

Joined: May 07, 2008
Posts: 52
Hi Friends,

Can any one tell me, How should i change my Url of my application from http://localhost:8080/index.html to http://localhost:8080/myapplicationname. I am using tomcat 5.5.

Thanks in Advance


J 4 Java
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Your application is deployed with ROOT context. Change the application context to myapplicationname.


A.A.Anbarasu
Sarath Koiloth Ramath
Ranch Hand

Joined: May 07, 2008
Posts: 52
Hi Anbarasu,

Thanks for the quick reply.Sorry i am not into tomcat side.can you please tell me how to change the application context to myapplicationname.

Thanks
Sarath K Ramath
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Rename the ROOT directory into your desire context name, which can be found under the .../tomcat/webapps directory.
 
GeeCON Prague 2014
 
subject: Change my application URL