Chapter 1. An Overview of Servlet and JSP Technology

Topics in This Chapter

  • Understanding the role of servlets

  • Building Web pages dynamically

  • Looking at servlet code

  • Evaluating servlets vs. other technologies

  • Understanding the role of JSP

Servlet and JSP technology has become the technology of choice for developing online stores, interactive Web applications, and other dynamic Web sites. Why? This chapter gives a high-level overview of the technology and some of the reasons for its popularity. Later chapters provide specific details on programming techniques.

A Servlet's Job

Servlets are Java programs that run on Web or application servers, acting as a middle layer between requests coming from Web browsers or other HTTP clients and databases or applications ...

Get Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.