###############FIRST Listener Interface#############

<listener>

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

</listener>

<context-param>

       <param-name>contextConfigLocation</param-name>
       <param-value>classpath:applicationContext</param-value>

</context-param>            

###########################################

 

#############SECOND Servlet Interface#############

<context-param>

    <param-name>contextConfigLocation</param-name>
    <param-value>classpath:applicationContext</param-value>

</context-param>

<Servlet>

       <servlet-name>context</servlet-name>
       <servlet-class>
           org.springframework.web.context.ContextLoaderServlet
       </servlet-class>

</servlet>

  

###########################################

相关文章:

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