; <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 5:55 PM
Subject: RE: getContext() returns null
Hi,
Did you try setting crossContext to true for the A context as well? ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Umer Rashid [mailto:[EMAIL PR
Hi,
Did you try setting crossContext to true for the A context as well? ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Umer Rashid [mailto:[EMAIL PROTECTED]
>Sent: Friday, April 16, 2004 6:49 AM
>To: Tomcat Users List
>Subject: getContext
Hello,
I was able to acess A.war from B.war, but after I set B.war as ROOT (by setting
Context path="" in server.xml), getServletContext().getContext("/A")
in B.war return null, even though I have set crossContext ="true" in Context tag of B.
Can anyone tell me how this problem can be fixed?
You're right Jon.
Thanks for the tip!
Cyril.
- Original Message -
From: "Jon Wingfield" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 11:19 AM
Subject: Re: getContext returns null!
> I thin
I think you may need to set your Context to be crossContext.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
HTH,
Jon
cyril vidal wrote:
Hi,
I just would like to get a reference to the ServletContext of another web application as the current one, to get a RequestDispatcher
Hi,
I just would like to get a reference to the ServletContext of another web application
as the current one, to get a RequestDispatcher object.
I know that the path should begin with / and that it is interpreted relative to the
server's document root .
So i'm in a web application context and