Tomcat after Startup Event with spring

前端 未结 3 1076
情书的邮戳
情书的邮戳 2020-12-19 19:47

I have a function I want to execute straight after tomcat has started and loaded all its attributes successfully. I don\'t want to use ServletContextListener as this will re

3条回答
  •  Happy的楠姐
    2020-12-19 20:14

    I think JMX Tomcat supports can meet your requirement, even no ServletContextListener is deployed in container.

提交回复
热议问题