1. <!--Spring ApplicationContext 载入 -->  
  2. <listener>  
  3.     <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
  4. </listener>  
  5.   
  6. <!-- 使Spring支持request与session的scope,如:<bean /> -->  
  7. <listener>  
  8.   <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>  
  9. </listener>  
  10.   
  11. <!-- Spring 刷新Introspector防止内存泄露 -->  
  12. <listener>  
  13.     <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>  
  14. </listener>  



<context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            /WEB-INF/config/application-context.xml
            /WEB-INF/config/cache-context.xml
            /WEB-INF/config/captcha-context.xml
            /WEB-INF/config/jeecore-context.xml
            /WEB-INF/config/jeecms-context.xml
        </param-value>
    </context-param>


 
  1. <listener>  
  2.         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>  
  3.     </listener


一起用

相关文章:

  • 2021-11-16
  • 2021-07-19
  • 2022-01-08
  • 2021-10-06
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-12-27
  • 2021-08-04
  • 2022-12-23
相关资源
相似解决方案