wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Listener Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Listener Class" Watch "Listener Class" New topic
Author

Listener Class

Arathi Raj
Ranch Hand

Joined: Nov 22, 2002
Posts: 90
What are listener class in servlets. Uses of it.
Priya Jothi
Ranch Hand

Joined: Jul 13, 2004
Posts: 168
Hi,

Any class which extends one or more listener interface(around 8 interfaces are available in servlet API) is treated as listener class.
If you would like to listen for any event that take place in the container side say session creation,req attribute added or removed and so on..u'll go for listener class.For more details, you can refer to HFSJ book where they've explained these concepts clearly.

Regards,
Priya.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Listener Class
 
Similar Threads
Listeners
problem with spring security
web application listeners
listener tag makes the service false
what to put here