aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Listener Class