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.
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 ...