Announcement Announcement Module
Collapse
No announcement yet.
How to extend XmlWebApplicationContext to load xml files from classpath JAR files? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to extend XmlWebApplicationContext to load xml files from classpath JAR files?

    Hi,

    Can someone please explain how can I extend the XmlWebApplicationContext to load all app-context.xml files from JAR files in the classpath?

    What I dont know is how to look into the jar files and find the files. That much I know that all files are located inside META-INF.spring folder.

    Thanks.

  • #2
    Ehrm don't.... simply prefix the files you want to load with classpath: or classpath*: then it will be loaded from the classpath... I suggest reading the resource loading chapter in the reference guide.

    Comment

    Working...
    X