File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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: 28
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Changing Default Context Of Tomcat
 
Similar Threads
Apache Tomcat Integration
setting index.html to my context root
Apache web server
how to get administrative form on jboss
Why local host shows error?