Can some code run when we first deploy a WAR file?
Asked 2011-03-17T07:46:40.087
9
Is there any method or API that I can use so that whenever I deploy a new WAR file, a part of code should execute or perhaps when Tomcat starts, the respective servlet should start or run some code continuously.