| << F.1.0- Basic Procedure of a Form and Response | AppendixF | F.10.0- Hidden Fields and Returning Data >> |
ASP vs HTML Pages
You may have noticed that there is no scripting required onsimple HTML form pages – browsers are able to display the fields with no moreinstruction than the proper use of the HTML tags. In contrast, the responsepage requires the use of some type of scripting (in this book we use VBScriptwithin ASP). Therefore the form page can be a .htmfile, but the response page must be a .asp.
However, in the real world it's difficult to find bosses orclients who will accept minimal pages. You'll probably want to include astandard header and footer file on each page, which will utilize somescripting. Furthermore, you may want to build the form HTML using ASP, forexample, if you want to look up list box choices from a data store. So althoughthe form itself doesn't require scripting, other elements of the page probablywill, and thus programmers usually name form pages, as well as Response pages, .asp.
| << F.1.0- Basic Procedure of a Form and Response | AppendixF | F.10.0- Hidden Fields and Returning Data >> |

RSS

