O'Reilly logo

Spring MVC: A Tutorial by Paul Deck

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

Appendix B

Servlets

Servlet is the main technology for developing servlets. Understanding the Servlet API is your gateway to becoming a formidable Java web developer. It is imperative that you be familiar with each of the over seventy types defined in the Servlet API. Seventy may sound a lot but its not hard if you learn one at a time.

This appendix introduces the Servlet API and teaches you how to write your first servlet.

Servlet API Overview

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

 

  javax.servlet. Contains classes and interfaces that define the contract between a servlet and a servlet container.

  javax.servlet.http. Contains classes and interfaces that define the contract between an HTTP servlet and ...

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