Skip to main content

Posts

Showing posts with the label Servlet API

Basics about Servlets

Through this tutorial i will try to get you closer to the Java Servlet Model. Before we start with examination of classes defined within the servlet specification, i will explain basic stuff needed to know before you start with developing web application.

Servlet API Listeners

Generally speaking Listener are objects which are used for performing some action when somethings is happened. They receive notification about some change and perform action registered for that event. Also in the web application from time to time some "interesting" changes happens, and it would be nice that we can be notified about them.  Because of that in the servlet api are defined some Listener interfaces which allow us to handle events which are interesting for us.