Hi,

The normal way of registering a listener is
<listener>
<listener-class>tests.ServletRequestListener.RequestListener </listener-class>
</listener>

Can we register in below way as well?

<class>
<servlet-listener>com.ex.MyListener</listener>
</class-name>