O'Reilly logo

Just Java™ 2 by Peter van der Linden

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 26. Servlets and JSP

  • Overview of Servlets and JSP

  • Why Use Servlets?

  • Releases and Versions

  • Installing the Tomcat Software

  • Running the Example Servlets

  • Ports and Protocols

  • The HTML to Invoke a Servlet

  • A Servlet and Its Request/Response

  • Servlet Request

  • Response to a Servlet Request

  • Writing Your Own Servlet

  • Servlet Operating Cycle and Threading

  • Java Server Pages

  • Java Beans in Servlets and JSP

  • Last Words on JSP, Beans, and Tag Libraries

  • Further Reading

  • Exercises

  • Some Light Relief—Using Java to Stuff an Online Poll

This chapter describes two key Java technologies that are used in server-side Java: servlets and JSP.

Overview of Servlets and JSP

The first of these technologies, servlets, provides a way for a browser ...

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