I want to call a
servlet everytime
Tomcat boots up. I have made the necessary entries in the web.xml file of my web-app. But the servlet is not getting invoked.
<servlet>
<servlet-name>DaemonServlet</servlet-name>
<servlet-class>com.kalzoom.DaemonServlet</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
The class file is present in the directory.