ServletContextListener

ServletContextListener :

Implementations of ServletContextListener interface receive notifications about changes to the servlet context of the web application, they are part of.
It has 2 methods : contextInitialised() and contextDestroyed()Example :

 index.html

CtxtLis.java

Login.java

web.xml

 

Leave a Reply

Your email address will not be published. Required fields are marked *