Finding applicationContext.xml
Hi,
We are using Spring in our backend code, but not our web (Struts), although it all runs within Tomcat. I am using org.springframework.web.context.ContextLoaderListe ner to configure everything when the app starts up, and the applicationContext.xml is located in the WEB-INF directory.
I need to to load the BeanFactory in my code, but don't want to hardcode the location of the applicationContext.xml so I can run the backend code outside the container.
Apparently the WEB-INF directory is not in the classpath - any suggestions on how to find the applicationContext.xml file?
thanks!
David