< Previous | Next >

Lesson 7: Add elements to JavaServerPages (JSP) pages

Add input fields, push buttons, and output fields to JSP pages to create dynamic user interfaces for input and output.

In the input fields, the user of the resulting application will type the day, month, and year of interest. The input page includes Submit and Refresh buttons. In the output field, the corresponding day of the week will be displayed. To create these pages:
  1. Add elements to the input JSP page.
  2. Add elements to the output JSP page.