This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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.
 
jQuery in Action, 2nd edition
 
subject: Change my application URL