IntelliJ IDEA 2018.1 Help

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

  1. Configure a new listener.
  2. Switch to the Text view and specify the necessary settings in the Web application deployment descriptor.
Last modified: 24 July 2018

See Also