If i am writing s small progrma for example just to print my name and run it its working fine.No i changed the name which i want to print its showing me the previous name. I know that when i make changes in servlet i have to restart the tomcat an i am doing it.so can you help me why its doing this and how to resolve it.