Adding ContextLoaderListener to web.xml in Spring MVC

后端 未结 4 612
执笔经年
执笔经年 2020-12-01 06:39

I am new to Spring MVC. I have a web application. I have the following configuration:



        
4条回答
  •  没有蜡笔的小新
    2020-12-01 07:35

    This maybe a little advanced, in my application which is an enterprise app, they construct their own listener class and put in the web.xml. On start up, this customized listener will scan the app to gather all info including resources, external connections, server info ip, jars, etc. The info is accessible in a web page.

提交回复
热议问题