This chapter introduces servlet development using Java and JSPs. It highlights concepts
and objects common to both environments. It includes sample code for a Java Servlet and
a JSP, as well as a summary of changes in the servlet API.
Contents
Using Java Servlets ................................................................................................. 38
Servlets and JSPs.................................................................................................... 41
Writing servlets in Java .......................................................................................... 45
Writing servlets as JSPs .......................................................................................... 46
CHAPTER 4
Using Servlets and JSP
37