I have a handful of projects that all use one project for the data model. Each of these projects has its own applicationContext.xml file with a bunch of repetitive data stuff w
Here's what I've done for one of my projects. In your web.xml
file, you can define the Spring bean files you want your application to use:
contextConfigLocation
/WEB-INF/applicationContext.xml
/WEB-INF/modelContext.xml
/WEB-INF/ui.xml
If this isn't defined in your web.xml
, it automatically looks for /WEB-INF/applicationContext.xml