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() returns null > >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? > >Regards, umer > This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]