I get confused between the two ApplicationContext and ServletContext when it comes to Spring MVC Application. I know that There is just only One ApplicationContext per Sprin
In Spring, to read a specific initialisation configuration file, we use the context-param with the predefined name called contextConfigLocation.
WebFlow context configuration
contextConfigLocation
/WEB-INF/test-context.xml
But in case of Plain J2EE web application without including any frameworks, the context-param can read from any where in the application i.e. any servlet, filter.
The difference between ApplicationContext and ServletContext, sanjay explained