This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
Have you checked out Aspose?
 
subject: Changing Default Context Of Tomcat
 
It's not a secret anymore!