When comparing Head First Servlets and JSP vs Murach's Java Servlets and JSP, the Slant community recommends Murach's Java Servlets and JSP for most people. In the question“What are the best resources to learn Java web development?” Murach's Java Servlets and JSP is ranked 3rd while Head First Servlets and JSP is ranked 5th.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Helps you pass the Sun Certified Web Component Developer exam
The book is filled with mock exams and questions at the end of each chapter. The authors have also helped write the actual Sun test so the book should help you get a feel of the real test and the types of problems you may face when taking it.
Pro Keeps you interested through humour
Like all the other books in the Head First series, this one too has a healthy dose of humour thrown in. Making studying and reading about the concepts explained in this book more fun and easier to follow instead of having to read hundreds of pages of technical wording non-stop.