• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing Default Context Of Tomcat

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

How can I change default context of tomcat. Actaully I want to show welcom page of my application for http://localhost:8080 url

Please help me

Thanks
 
Ghufran Ul Haq
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amir

Try this.

Within the <Host></Host> element in the conf/server.xml
enter
<Context path="" docBase="yourAppName" debug="0"/>


 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ghufran
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic