5/20/2009

Listener

Listeners are used for notifying ivents in the web applicaion.
Listeners must be defined in the web.xml except listeners that implement HttpSessionBindingListener and HttpSessionActivationListener are excluded

Example
web.xml
<listener>
<listener-class>sample.MyListener1</listener-class>
</listener>