Chapter     2

Building Web Applications Using Servlets and JSP

Protocol is everything.

—François Giuliani

The core Internet protocols substantiate and sustain the Web, so understanding these protocols is fundamental to understanding how web applications are developed.

The Internet is a colossal network of networks, and in general, all of the machines on the Internet can be classified into two types: the server and the client. The client is the machine requesting some information, and the server is the machine that provides that information. The information data that flows from the information provider (that is, the server) to the information requester (that is, the client) is bound by a definite rule that governs the marshaling of the information ...

Get Learn Java for Web Development: Modern Java Web Development now with O’Reilly online learning.

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