RE: Trying to retrieve the ROOT context in Servlet.

2005-03-09 Thread Jeffrey Lanham
EMAIL PROTECTED] Cc: Tomcat Users List Subject: Re: Trying to retrieve the ROOT context in Servlet. I'd want to say the Default context (see bug 33831 for more explanations) This is the tomcat behaviour if your put crossContext="true" (but you already have solved your needs, no ?). O

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-09 Thread Lionel Farbos
gt; So, hitting an invalid context gets you the root context? Isn't that a > little insecure? > > Jeff > > -Original Message- > From: Lionel Farbos [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 08, 2005 3:49 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTEC

RE: Trying to retrieve the ROOT context in Servlet.

2005-03-08 Thread Jeffrey Lanham
So, hitting an invalid context gets you the root context? Isn't that a little insecure? Jeff -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:49 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Trying to retrieve the

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-08 Thread Lionel Farbos
Hi Jeffrey, I use Tomcat 5.0.30 and, when I use getServletContext().getContext("/toto"), if the Context toto doesn't exist, it returns the root context. On Mon, 7 Mar 2005 15:32:25 -0600 "Jeffrey Lanham" <[EMAIL PROTECTED]> wrote: > I have been trying for days and tons of google searches and ma

RE: Trying to retrieve the ROOT context in Servlet.

2005-03-07 Thread Jeffrey Lanham
Ok, if I could read I'd be dangerous. I finally found the crossContext attribute in the context descriptor. Man, I just glossed right over that one. Changed it in the web app accessing the root directory and voila, it works. Duh (dull slap as hand hits forhead with enough force to crack the s