This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.