Hello Everybody, Please tell me which things are needed to install for compiling & running servlet ? Please tell me the detail procedure . Also Please tell me where can I find free server(e.g. TOMCAT) for running servlets. Which is good book for learning servlet ?
To compile, you need at least an SDK (J2SE) and a JAR file called servlet-api.jar. You'll find this file in Tomcat's common directory. Tomcat: http://tomcat.apache.org/
About a book, Head First Servlets and JSP is a recommended one at the ranch. (it's actually aimed at passing Sun's SCWCD certification ,about servlets and jsp) [ October 06, 2006: Message edited by: Satou kurinosuke ]
I'm studying Head First Servlets & JSP, and so far I think it's an excellent book. I also have Murach's Java Servlets and JSP, which is also highly recommended, but it doesn't have as much detail as the HF Servlets & JSP. I think the Murach's book provides a good, basic introduction, but after reading each short lesson, I had technical questions about some of the details (e.g. how to determine what path to use when refering to a file). I found that those technical details were clearly explained in the HF book.
My recommendation would be to get both books. Start with the Murach's book and after you finish chapter 6, switch over to the HF book. I think the first three chapters of the HF book would be too overwhelming for absolute beginners. [ October 06, 2006: Message edited by: sven studde ]