Importing Bean Definitions from One File Into Another
Hi.. i'm developing an app using spring, and my xxx-servlet.xml is getting bigger and bigger, i'm interested in the spring reference part 3.17. titled
Importing Bean Definitions from One File Into Another
(http://www.springframework.org/docs/...context-import)
particularly in
Quote:
It's often useful to split up container definitions into multiple XML files. One way to then load an application context which is configured from all these XML fragments is to use the application context constructor which takes multiple Resource locations. With a bean factory, a bean definition reader can be used multiple times to read definitions from each file in turn.
Generally, the Spring team prefers the above approach, since it keeps container configurations files unaware of the fact that they are being combined with others.
but i can't seem to find an example of using multiple resource locations in the application context constructor... (not using the import statement)
thank you...