tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vibhuti" <vibhuti.gu...@thePSI.com>
Subject RE: Setting context in tomcat6
Date Wed, 16 Jul 2008 07:37:09 GMT
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:markt@apache.org] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



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


Mime
View raw message