【转】详解web.xml中元素的加载顺序

  顺序为:

  context-param --> listeners --> filters --> servlets(如DispatcherServlet等)

  详见《https://www.cnblogs.com/hafiz/p/5715349.html

猜你喜欢

转载自www.cnblogs.com/codingmengmeng/p/10770777.html