Remy,

Looking at bug 13040 I did a bugzilla search and came across bug 11411. I am
still thinking about bug 13040 but saw that bug 11411 could be fixed (I had
previously closed it without looking at the source closely enough) without
getting into the equals()/startsWith() debate that is part of bug 13040.

In the circumstances where crossContext is false and getContext("/") is called
from within the root web application getContext() was returning null rather than
the root context.

I am guessing I have done something stupid but I can’t for the life of me see
what it is ;)

Mark

> -----Original Message-----
> From: Remy Maucherat [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 01, 2004 9:47 PM
> To: Tomcat Developers List
> Subject: Re: cvs commit: 
> jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina
> /core ApplicationContext.java
> 
> [EMAIL PROTECTED] wrote:
> > markt       2004/04/01 12:09:21
> > 
> >   Modified:    catalina/src/share/org/apache/catalina/core
> >                         ApplicationContext.java
> >   Log:
> >   - Fix getContext("/") so current context is returned if 
> called whilst in the root context
> >   - Port from TC5
> 
> I disagree with this patch. Please explain.
> 
> Rémy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to