Back to the second day of javaweb (two) (solve the problems I saw before, listener and other problems)

 

 Here is the use of listener. Personally think that it is used for some initialization work. In the case of listener, it is the connection pool of the database. It will be initialized by the web server immediately.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/startFrom0/p/12672666.html