O'Reilly logo

Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition by Larry Brown, Marty Hall

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 19. Creating and Processing HTML Forms

Topics in This Chapter

  • Data submission from forms

  • Text controls

  • Push buttons

  • Check boxes and radio buttons

  • Combo boxes and list boxes

  • File upload controls

  • Server-side image maps

  • Hidden fields

  • Groups of controls

  • Tab ordering

  • A Web server for debugging forms

HTML forms provide a simple and reliable user interface to collect data from the user and transmit the data to a servlet or other server-side program for processing. In this chapter we present the standard form controls defined by the HTML 4.0 specification. However, before covering each control, we first explain how the form data is transmitted to the server when a GET or POST request is made.

We also present a mini Web server that is useful for understanding ...

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