Show TOC

 Adding a ListenerLocate this document in the navigation structure

Prerequisites

Before you can add a Listener to a WAR, you must have:

Procedure
  1. In your DLP project, choose the J2EE Components tab.
  2. Select a WAR file from the tree.
  3. Choose J2EE Components → Add Listener. A dialog box appears.
  4. Enter the fully qualified Java class name of the listener. This name will be used as a name for the listener.
    Note

    Use unique listener names in a Web archive.

  5. Choose OK. The listener appears on the J2EE Components tab as a subnode of the Web archive.
  6. Save your entries.