|
Welcome to the Sun ONE Active Server Pages Ten-Step Tour! If you're interested
in Active Server Pages (ASP), you're interested in building Web applications.
One of the basic functions of Sun ONE Active Server Pages is to gather
information from a user through an HTML form. Click Show Me and
then enter your name. When you click Enter on the form, the contents
of the field are passed to an ASP page named accept.asp.
The Web server passes processing of all pages having the .asp
file name extension to the Sun ONE Active Server Pages Server. The results
of script in accept.asp are returned from
the server as pure HTML and replace the contents of the bottom frame.
If a user views the source of accept.asp with a Web browser, the user
sees only the standard HTML code that the accept.asp
script generated. Only by viewing the actual script file (without accessing
it through the Web server) can you see the ASP code. The View ASP Source
button used later in this tour calls an ASP script that grabs and displays
the source code of the requested .asp page.
|