O'Reilly logo

Servlet & JSP: A Tutorial, Second Edition by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

The Servlet API

In Chapter 1, “Getting Started” you learned how to use NetBeans to write a Java web application. It is now time to delve into the technology behind it all, Servlet. Understanding the Servlet API is your gateway to becoming a formidable Java web developer. There are more than seventy types in this API and it is imperative that you be familiar with the most important ones.

This chapter introduces the classes and interfaces in the Servlet API that you should know. In addition, it teaches you to write servlets. All examples in this chapter can be found in the servletapi1, servletapi2 and servletapi3 sample applications.

Servlet API Overview

The Servlet API comes in four Java packages. The packages are as follows. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required