In the first two article on general event handling with servlets we have covered how to detect changes in the servlet context and monitoring the creation and destruction of the servlet context. In this last article of the series we will look into how to use listeners with tag libraries. If you have not seen the first two articles of this series, General Event Handling in Servlets, Part 1 and General Event Handling in Servlets, Part 2, then I would recommend that you review them before continuing
Updated 12-09-2011 at 04:16 PM by Servlet
In the last article, we started to look into the Application Events Framework for servlets and javaserver pages. We listed eight different kinds of events listeners that are related to web application life-cycle events. If you are interested, go review the post, General Event Handling in Servlets Part 1.
In that article, we looked at the first of the listeners for the initialization and destruction of servlet context and we presented an example of itís use for a company that is constantly
Updated 12-09-2011 at 04:13 PM by Servlet
When you are developing applications using servlets or JSP pages, there are a number of tools at your disposal for handling the life cycle of individual servlets or JSP pages. The servlet init method fires when a servlet is first instantiated. With JSP pages it is the jspInit method. Both methods can use initialization parameters that are specified with the init-param subelement of the web.xml servlet element. Requests are handled with service and _jspService, and destruction is handled with destroy
Updated 11-30-2011 at 02:15 PM by Servlet