start a context automatically, while tomcat starts
i am having one context in tomcat webapps.(that is root direc). now , the thing is, i want to run that context automatically ,while tomcat server startup. that is, i am having one class inside the web-inf/classes/ . that is simple helloworld program. i need this run automatically , when server start. (instead of giving url in browser and sending request and all.).
please help me out in this. thanks.