【转】详解web.xml中元素的加载顺序 顺序为: context-param --> listeners --> filters --> servlets(如DispatcherServlet等) 详见《https://www.cnblogs.com/hafiz/p/5715349.html》