<!--推荐使用此种方式-->



       <listener>
		<listener-class>
			org.springframework.web.context.ContextLoaderListener
		</listener-class>
	</listener> 
	<!--contextConfigLocation在 ContextLoaderListener类中的默认值是 /WEB-INF/applicationContext.xml-->
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>/WEB-INF/applicationContext.xml</param-value>
		<!-- <param-value>classpath:applicationContext*.xml</param-value> -->
	</context-param>

相关文章:

  • 2021-08-08
  • 2021-08-03
  • 2021-10-02
  • 2021-07-14
  • 2022-01-19
  • 2021-05-28
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-07-07
  • 2021-07-25
  • 2021-12-25
  • 2021-10-19
  • 2021-11-13
  • 2022-12-23
相关资源
相似解决方案