permaculture playing cards*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Changing Default Context Of Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Changing Default Context Of Tomcat" Watch "Changing Default Context Of Tomcat" New topic
Author

Changing Default Context Of Tomcat

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
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


"Know where to find the solution and how to use it - that's the secret of success."
Ghufran Ul Haq
Greenhorn

Joined: Apr 10, 2007
Posts: 29
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

Joined: Nov 14, 2005
Posts: 324
Thanks Ghufran
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing Default Context Of Tomcat