Dear all,
I have a class which implemented SevletContexListener interface. I have overridden contextDestroyed() and contextInitialized() methods.
Here is my web.xml(Highlighed in Green my Listener class]
The problem is whenever
tomcat is restarted the contextDestroyed() method is not calling.
Could you please clarify me where i am committing mistakes... Thanks in advance
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Browser</display-name>
<listener>
<listener-class>com.ciena.ss.core.ScheduleScan</listener-class>
</listener>
...
</web-app>