Accessing spring beans across different application context files
posted 8 years ago
I have a web application having axis2 web service deplyed as an ARR file. The application has an application specific applicationContext file and the web service has a service specific applicationContext file inside ARR file. I want to access spring beans from application spring file into service's spring applicationContext file. I used the <import> tag in service's spring file but not able to access it though.
So then you are saying that the .arr is in your classpath, and since the App Context xml, is at the root of the .arr file, I would expect, but not positive that just using the classpath: prefix and the xml file name would work. Like