SERVLETCONTEXTLISTENER

xiaoxiao2021-03-06  25

Any class that inherits the servletContextListener interface

Call its ContextInitialized method when the web container starts to initialize

The method of calling its contedentroyed when the container is turned off.

If there is a system variable or parameter, it is destroyed when it is loaded while the web container is started, it is a good method.

The configuration in Web.xml is as follows

com.mitac.mismlinux.util.systemmonitordaemon

转载请注明原文地址:https://www.9cbs.com/read-81364.html

New Post(0)