how to start an appli.automatically , while tomcat server starts.
i need to run an application automatically when tomcat server startup. simple hello world program. please help me out. for example, i am having one context in my tomcat webapps direc. now , i am having one class file inside the web-inf/classes. of my webapplication. now i neet this file run automatically , while tomcat server starts.