Chapter 12. Creating Servlets
Welcome to Day 12! Today you'll start learning how to create and work with Java servlets. As you may recall from Day 1, JSP was introduced to make working with servlets easier—JSP itself is based on servlets. However, servlets can also do things that JSP pages can't. Today you'll see these topics:
Using the
<jsp:plugin>
elementCreating and running servlets
Sending data to and from a servlet
Understanding the servlet life cycle
Creating Web applications using servlets
Getting servlet initialization parameters
Servlets are Java classes, and today you'll learn how to make those classes accessible to Tomcat, and therefore, to Web pages.
In fact, today's work starts not with servlets, but with a new JSP element, <jsp:plugin> ...
Get Sams Teach Yourself JavaServer Pages™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.