applicationContext.xml is executed with the loading of ContextLoaderListener,
while xxx-servlet.xml is executed with the loading of DispatcherServlet.
In web.xml, the loading order is listener>filter>servlet
, so applicationContext.xml is loaded first!
applicationContext.xml and springmvc-servlet.xml configuration file loading order
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326760772&siteId=291194637
Ranking