You can add a listener to a web module deployment descriptor (web.xml
)
in two ways:
Add <listener>
to Deployment Descriptor (web.xml)
checkbox.A listener is defined in the deployment descriptor (web.xml
) using
the listener
element. Listener class instances are scoped to one
per deployment descriptor declaration per Java virtual machine.
For more information about listeners, see the Java Servlet 2.3 Specification
available at http://java.sun.com/products/servlet
.
See Also | |
---|---|
Editing Web Module Deployment Properties |