Servlets are Java technology's answer to CGI programming; JSP is a technology that lets users mix regular, static HTML with dynamically-generated HTML. This tutorial discusses the basics of Java Servlets and JSP, as well as the advantages of using each of these technologies.
The Servlets trail teaches you about servlets, the bodies of code that run inside servers, and extend their functionality. Topics include: Overview of Servlets, Client Interaction, The Life Cycle of a Servlet, Saving Client State, Servlet Communication, Utilities for Running Servlets, and Running Servlets.
This article examines Java Servlets in detail and discusses HttpServlet, ServletConfig and ServletContext classes and issues like Servlet preloading and initialization parameters.
This is an introductory tutorial on Java Server Pages by devshed. It explains the history and basics of JSP documents, and also illustrates variables, includes and the String object.
A brief introduction to writing your own first Java Server Pages (JSP). Covers several different editions of "Hello, World!" example. This article is the first excerpt of a full series from the book, Web Development with JavaServer Pages.
This article describes the overall servlet architecture and what you need to develop your application with servlets. Also presented are several code examples to show you how to use the Servlet API, and compare it with CGI and proprietary server APIs where appropriate.
Servlet's portability makes them a powerful alternative to CGIs. This tutorial describes what Servlets are, What you need to run servelts, How to run them, and includes some basic code that can be used in place of a CGI program.
The author notes "This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a simple "Hello World" Servlet to advanced Servlet features like session tracking and Cookies. There are also appendices on compiling and running Servlets. The reader is assumed to have some basic knowledge of HTML and Java programming."
Written primarily for those currently developing on the server in JavaScript, this article explains the basics of working with Java on the server through Sun's Java Servlet API. It includes a brief overview of servlets and their role in server-side software development, and Comparison of JavaScript applications with servlets in a number of crucial areas of program design.