Define and Map Servlets
A web.xml file must first define a servlet instance, then map that instance to one or more URL patterns. For details on programming servlets, see Chapter 9.