Form Validation

  • Unique Paper ID: 143726
  • PageNo: 69-73
  • Abstract:
  • The forms in HTML provide a very 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 and debugging the data sent by your HTML forms. The server simply reads all the HTTP data sent to it by the browser, then returns a Web page with those lines embedded within a PRE element. We use this server throughout the examples in this chapter to show the form control data that is sent to the server when the HTML form is submitted. To use forms, you’ll need to remember where to place regular HTML files to make them accessible to the Web server. Below, we review the location for HTML files in the default Web application for Tomcat, JRun, and Resin.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{143726,
        author = {Himanshu Kapoor},
        title = {Form Validation},
        journal = {International Journal of Innovative Research in Technology},
        year = {},
        volume = {3},
        number = {1},
        pages = {69-73},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=143726},
        abstract = {The forms in HTML provide a very 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 and debugging
the data sent by your HTML forms. The server simply reads all the HTTP data sent
to it by the browser, then returns a Web page with those lines embedded within a
PRE element. We use this server throughout the examples in this chapter to show the
form control data that is sent to the server when the HTML form is submitted.
To use forms, you’ll need to remember where to place regular HTML files to
make them accessible to the Web server. Below, we review the location for HTML
files in the default Web application for Tomcat, JRun, and Resin.},
        keywords = {},
        month = {},
        }

Cite This Article

Kapoor, H. (). Form Validation. International Journal of Innovative Research in Technology (IJIRT), 3(1), 69–73.

Related Articles