Hi,
"Core Servlets and JavaServer Pages" By Marty Hall is a good book to start off with and it also includes all the details to set up your development environment and steps for writing your programs in text editor,running and debugging them. In all, perfect for a new bee.
You can also visit:
http://www.coreservlets.com for examples and more details.
[ April 07, 2008: Message edited by: Mehul Wani ]
[ April 07, 2008: Message edited by: Mehul Wani ]