I am new to this forum.Just joined today.Just wanted to check if there are any good tutorial available online for JSP & Servlets. The ones i have found are not good enough.
Secondly, what is a better to way to learn JSP& Servlets - study from a book or learn from an online tutorial.
Welcome to JavaRanch. I think the last full servlet/JSP tutorial I saw was for JSP 1.1 or something like (in other words, 10 years old and now obsolete). It's probably too big a subject for anyone to put up a free tutorial for the fun of it. So I recommend getting an introductory book that organizes all the subject matter for a better learning experience.
There are book reviews on the Ranch. These are the reviews on this subject Servlet JSP book reviews . I liked the Headfirst book and I liked Murach's Java Servlets and JSP . Murach's includes full projects and you can download the source code for the projects from the Murach site.
Check http://www.coreservlets.com/ . Very well organized lessons, with examples and solutions: JSP, Servlets, JSF and much more, setting environment, configuring server ... Everything explained in details so everyone willing to learn can easy follow lessons.
I second http://www.coreservlets.com! Also, some shameless self-promotion: I am in the middle of posting a full-stack web application tutorial at my blogwhich illustrates Tomcat, Servlets, JSP, JavaBeans, AJAX, JQuery, JSON, H2 database, MustacheJS, etc. However, the point is to show those already familiar with web development how the connections between the different components might look, so I take a very simplified view of everything. As you can tell from the technologies named, I also use the most lightweight version of each thing (H2 for the database, MustacheJS for HTML templating) available. This is because the focus is on breadth across the full-stack. The tutorial covers something that is extremely simple but which is still self-contained and actually does something cool within a reasonable amount of time. Two parts have been posted and I am guessing there will be two more. You could probably complete the two that are available in a one-two hours.