i am not using any framework like struts. purely , jsp/servlet only. that i want to run automatically while server startup. the thing is, In cmd prompt, we are running the tomcat. immediately the simple servlet program also should run automatically after that, from web-inf/classes direc. i am having only one program inside the web-inf/classes direc. not anymore. that too display the helloworld. that all.did u understand. ?? pleaes help me. thanks.