If anyone could clarify one doubt, that why is it that in tomcat5 we define
a context descriptor file myapp.xml in /tomcat/conf/Catalina/localhost
folder and a default context could be set but in tomcat6 it doesn't work.

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2008 7:28 PM
To: Tomcat Users List
Subject: Re: Setting context in tomcat6

vibhuti wrote:
> Thanks a lot for the prompt reply. I have tried doing that but in that
case
> I will not be able to access my application using URL
> http://localhost:8080/myapp/, I'll just be able to access it using
> http://localhost:8080/
> I want the users of my web application to be able to access it using both
> the URLs. This is the requirement of our project.

Simplest solution is to deploy the app twice. Rather than renaming your app 
to ROOT, copy it to ROOT.

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to