I brought the 2nd edition of Head First Servlets and JSP.
Alas..I typed the first program in page 30 sample servlet program called "Ch1Servlet"
I followed each step according to the book but it does not run as book says.
I have to create a new folder inside Tomcat 5.0 folder and save my work.
But if i put my program in servlet example folder which is insatalled with Tomcat and if i change that web.xml ,my program runs.