aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes listener declared in DD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "listener declared in DD" Watch "listener declared in DD" New topic
Author

listener declared in DD

A. Aka
Ranch Hand

Joined: Sep 08, 2012
Posts: 47
hi,

my question is which listener should be declared in DD (between those : ServletContextAttributeListener, HttpSessionListener, ServletRequestListener, ServletRequestAttributeListener, HttpBindingListener, HttpSessionAttributeListener, ServletContextListener, HttpSessionActivationListener)

My second question is if I declare a listener in DD which should not be, do I get an Exception ?

regards,
Abhilash Sharma
Ranch Hand

Joined: Dec 05, 2010
Posts: 67

A. Aka wrote:hi,

my question is which listener should be declared in DD (between those : ServletContextAttributeListener, HttpSessionListener, ServletRequestListener, ServletRequestAttributeListener, HttpBindingListener, HttpSessionAttributeListener, ServletContextListener, HttpSessionActivationListener)

My second question is if I declare a listener in DD which should not be, do I get an Exception ?

regards,


See this Configuring Listeners


OCPJP 6 | OCEJWCD 6
A. Aka
Ranch Hand

Joined: Sep 08, 2012
Posts: 47
thanks
Sanjay Singh
Ranch Hand

Joined: Mar 02, 2006
Posts: 37

My second question is if I declare a listener in DD which should not be, do I get an Exception ?


you will not get any error, that's what I can see in tomcat 7.


Regards, Sanjay Singh
SCJP-1.6, OCEWCD 6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: listener declared in DD