Developing the Input Page

The input page is an HTML page containing different input fields in which the user can provide data to be processed. As per the requirements, the input page should be used to specify the month and the year.

Defining the HTML Form

To create an input page containing fields, you need to add an HTML form to your HTML/JSP document. A form can be added anywhere within the body of the document like any other HTML element.

All input fields in an HTML page that need to send data to the server for processing need to be contained within a form.

A form has the following syntax:

<form action="FormHandlerURL" method="get|post" name="name"..<

It specifies the application on the Web server that will process the form contents using ...

Get Java Server Pages from scratch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.