- Spring also gives developers a way to import multiple configurations into one main configuration.
- And then we update the
ClassPathXmlApplicationContextclass constructor path with that main configuration XML path. - We use
<import resource="..." />tag to import configuration into main configuration.
`
<import resource="application-conf1.xml"/>
<import resource="application-conf2.xml"/>
`