Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread Guojun Zhu
you can change the $Catalina.home/conf/Catalina/(your host)/ROOT.xml file to direct to your webapp path instead of the ROOT. On Sun, Aug 17, 2008 at 1:36 PM, flytoarun [EMAIL PROTECTED] wrote: Hi All, I am using tomcat 5 version and my application's default page is

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread flytoarun
Hi Guojun, I have 2 files under path /apache-tomcat-5.5.25/conf/Catalina/localhost host-manager.xml manager.xml i don't have ROOT.xml. --- On Mon, 8/18/08, Guojun Zhu [EMAIL PROTECTED] wrote: From: Guojun Zhu [EMAIL PROTECTED] Subject: Re: How to change Default URL to point to my

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread André Warnier
Guojun Zhu wrote: you can change the $Catalina.home/conf/Catalina/(your host)/ROOT.xml file to direct to your webapp path instead of the ROOT. Or, if I have correctly understood many previous posts to this forum, you can delete the ROOT default application and put yours there instead. A guru

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread Ken Bowen
If you are uploading your application (myapp) to Tomcat's webapps folder as a war (myapp.war), do two things: 1. Delete webapps/ROOT ; 2. Rename myapp.war to ROOT.war (case is important), and then upload it to webapps. On Aug 17, 2008, at 2:36 PM, flytoarun wrote: Hi All, I am using

Re: How to change Default URL to point to my application index.html page

2008-08-17 Thread Guojun Zhu
I am sorry. If there is no ROOT.xml, Tomcat will use the default and you just need to do as Ken said. Or you can create the ROOT.xml in the $Catalina.home/conf/Catalina/(your host)/ROOT.xml. Put Context path= docBase=${catalina.home}/webapps/(your application path)/ in the file. On Sun, Aug