vibhuti-2 wrote:
> 
> Correct; again, the name of the webapp is the URL path to it.
> 
>> Is there any other way also to set explicit contexts?
> 
> Not really.  Name your webapp properly and you won't have a problem.  Just
> follow the standard practice.
> 
>  - Chuck
> 

Just to be sure that I understand it correctly. If I use maven to generate
my myapp-version.war file the application will always be called
http://localhost:8080/myapp-version unless I rename the war file as
myapp.war (which gives http://localhost:8080/myapp which looks better for
the user in my opinion) before I deploy it. Since path does not work I can
not 'rename' it with the META-INF/context.xml. Neither gives putting the
file myapp.xml in the conf/localhost the possibility to 'rename'
myapp-version to myapp.

Marco

-- 
View this message in context: 
http://www.nabble.com/Setting-context-in-tomcat6-tp18464841p18609619.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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