1、servlet方式加载时:

【web .xml】

Xml代码

 <servlet>  
         
<servlet-name>dispatcherServlet</servlet-name>  
         
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>  
         
<init-param>  
             
<param-name>contextConfigLocation</param-name>  
             
<param-value>/WEB-INF/applicationContext</param-value>  
         
</init-param>  
 
</servlet>  

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2021-05-08
  • 2021-10-04
  • 2022-01-12
猜你喜欢
  • 2021-11-23
  • 2021-10-09
  • 2021-05-20
  • 2021-07-17
相关资源
相似解决方案