RE: Setting a Different context path to webapp name

2009-02-04 Thread Caldarale, Charles R
> From: James Hoare [mailto:james.ho...@net-a-porter.com] > Subject: Setting a Different context path to webapp name > > I have a webapp called myApp.war but I would like to > set this to a different url path than the webapp name. The easiest thing to do is just rename the .war f

Re: Setting a Different context path to webapp name

2009-02-04 Thread Kees de Kooter
In the context tag you need to add an attribute named docBase pointing to your warfile. Cheers, Kees de Kooter http://www.boplicity.net On Wed, Feb 4, 2009 at 11:05, James Hoare wrote: > > Hi, was hoping someone would help with the following. I have a webapp called > myApp.war but I would lik

Setting a Different context path to webapp name

2009-02-04 Thread James Hoare
Hi, was hoping someone would help with the following. I have a webapp called myApp.war but I would like to set this to a different url path than the webapp name. I've seen in the docs that you can specify an xml file under Catalina_Home/Catalina/localhost/newurlname.xml. I have tried this but