I need to be able to import an XML file with bean defintions (using <import...) from an absolute path outside the classpath. Is this possible, and if so, how do I do that?
thanks!
I need to be able to import an XML file with bean defintions (using <import...) from an absolute path outside the classpath. Is this possible, and if so, how do I do that?
thanks!
Try like this:
Code:<import resource="file:your_file_path.xml"/>
For windows paths you can use the following file: url sytax
Code:file:///c:/path/to/your/file.xml