Chapter 3: In-depth Servlet
In this chapter, we study the most important component in Java EE' web profile, servlet. As we have learned in the last chapter,
Servlet is a Java class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.
A servlet's job is to take a client's request and send back a response. The request might be simple: "get me the welcome page." Or it might be complex: "Complete my shopping cart check-out". It is not our intention to provide a complete users' guide for servlet usage. Rather, we focus on servlet's request and response in depth. Again, please make your hands dirty through extensive programming exercises.