Results 1 to 3 of 3

Thread: Importing Bean defintions from absolute path

  1. #1
    Join Date
    May 2007
    Posts
    7

    Default 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. #2
    Join Date
    Mar 2007
    Posts
    515

    Default

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

  3. #3
    Join Date
    Apr 2006
    Posts
    5

    Default On windows use...

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

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •