Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
Thanks! You made my day! :) On Mon, Apr 26, 2010 at 12:06 PM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Sun, Apr 25, 2010 at 7:02 PM, Behrang S. Zadeh > wrote: > > So what's the purpose of the path="..." element then? > > Only useful if you're deploying outside the given host's

Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Hassan Schroeder
On Sun, Apr 25, 2010 at 7:02 PM, Behrang S. Zadeh wrote: > So what's the purpose of the path="..." element then? Only useful if you're deploying outside the given host's appBase. There's lots of discussions of this in the archives :-) -- Hassan Schroeder hassan.schroe.

Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
So what's the purpose of the path="..." element then? On Mon, Apr 26, 2010 at 11:53 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Sun, Apr 25, 2010 at 4:58 PM, Behrang S. Zadeh > wrote: > > > I have defined a very simple Web application and stored it under > > webapps/example. >

Re: Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Hassan Schroeder
On Sun, Apr 25, 2010 at 4:58 PM, Behrang S. Zadeh wrote: > I have defined a very simple Web application and stored it under > webapps/example. > Now I assume that this Web app must only be accessible via > http://localhost:8080/example1. A bad assumption; Tomcat will deploy it as /example. Get

Context accesible in two context paths while it must be accessible in only one

2010-04-25 Thread Behrang S. Zadeh
Hi all, I have defined a very simple Web application and stored it under webapps/example. I have also defined a Context file for it named example.xml and placed it under conf/Catalina/localhost. The content of example.xml file is: Now I assume that this Web app must only be accessible v