The Simple Servlet
To become familiar with the key servlet concepts, we will begin by building and testing a simple servlet. The basic steps are the following:
1. Create and compile the servlet source code.
2. Start the servletrunner utility.
3. Start a Web browser and request the servlet.
The following sections examine each of these steps’ in detail.