2 Minutes To Code (β Version)

Java Servlets - 2 minute tutorial

Introduction to http listeners

If you want to be notified when a particular action happens in the http server, then you need to write a listener.

The servlet specification provides for 8 supported action types by 8 listener interfaces.

These listener types and an implementaion of one particular type HttpRequestListener is shown in the next few pages.