Form Validation
Himanshu Kapoor
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.
Article Details
Unique Paper ID: 143726

Publication Volume & Issue: Volume 3, Issue 1

Page(s): 69 - 73
Article Preview & Download

Recent Publication

Go To Issue

Call For Paper

Volume 5 Issue 7

Last Date 25 December 2018

About Us enables door in research by providing high quality research articles in open access market.

Send us any query related to your research on

Social Media

Contact Details

Telephone:704 821 9842/43