tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umer Rashid" <>
Subject getContext() returns null
Date Fri, 16 Apr 2004 10:48:46 GMT

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message