Announcement Announcement Module
Collapse
No announcement yet.
Importing Bean defintions from absolute path Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Importing Bean defintions from absolute path

    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!

  • #2
    Try like this:
    Code:
    <import resource="file:your_file_path.xml"/>

    Comment


    • #3
      On windows use...

      For windows paths you can use the following file: url sytax

      Code:
      file:///c:/path/to/your/file.xml

      Comment

      Working...
      X