title: how to get WebApplicationContext outside current servlet context?
body: <p>There are two WARs deployed in Tomcat (or other server), foo1.war and foo2.war.
  All spring beans are defined in foo1.war, but is it possible to get these spring beans in the servlet that deployed in foo2.war?
  I cannot just use <code>WebApplicationContextUtils</code> to get the <code>WebApplicationContext</code>, right? They are different WAR.</p>
  
  <p>thanks </p>