ServletContext.getContext() always returns when calling from root context (even with crossContext)

2009-08-28 Thread Jan Jonas
I have a very annoying problem with tomcat 6: ServletContext.getContext() always returns null if I call the method from the root context, i.e. the context I have defined with path=/ in my server.xml. I also tried setting path= (I read that this could fix problems in tomcat 5 - I'm using

Re: ServletContext.getContext() always returns when calling from root context (even with crossContext)

2009-08-28 Thread Pid
On 28/08/2009 09:57, Jan Jonas wrote: I have a very annoying problem with tomcat 6: ServletContext.getContext() always returns null if I call the method from the root context, i.e. the context I have defined with path=/ in my server.xml. I also tried setting path= (I read that this could fix

Re: ServletContext.getContext() always returns when calling from root context (even with crossContext)

2009-08-28 Thread Filip Hanik - Dev Lists
invalid path path=/ try path= On 08/28/2009 02:57 AM, Jan Jonas wrote: I have a very annoying problem with tomcat 6: ServletContext.getContext() always returns null if I call the method from the root context, i.e. the context I have defined with path=/ in my server.xml. I also tried