Listeners
A listener receives notifications on any events related to the Web application, such as deployment/undeployment of the Web application, activation/deactivation of an HTTP session, as well as on adding, removing, and replacing attributes of the application/session.
Listeners, as a part of a Web application, are configured in the Web module deployment descriptor web.xml.
To define a listener element
Switch to the Text view and specify the necessary settings in the Web application deployment descriptor.
Last modified: 27 August 2021