title: How to load applicationContext.xml
body: <p>I trying to load an applicationContext.xml from java class in a web application using </p>
  
  <pre><code>  ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ApplicationContext context = new FileSystemXmlApplicationContext("applicationContext.xml");
  </code></pre>
  
  <p>My question is how to load applicationContext.xml from a java class. The applicationContext.xml is WEB-INF. Is that possible?</p>