This lab is a little bit rougher than most.
Make copies of the following files:
do they differ? How are they similar? Where do you think all the extra
code that was in
b. Look at
webutils.ss and summarize the purpose of the
various procedures in that library.
c. Create a form (
CGI file (
greeting1.ss to test it.
While we've been creating our HTML forms in a text editor, it is also possible to generate a form with a CGI script.
a. Look at
greeting-form.ss and see if you can figure out
what it does.
b. Create a corresponding CGI file
don't create a corresponding HTML file. Load the CGI file in your browser
and see what happens.
a. Look at
greeting2.ss and see if you can figure out what
b. Create a corresponding CGI file, load it in your browser, and see what it does.
Write a CGI script that takes a number as input and produces the square
root of that number as output. Since CGI variables are passed as strings,
you will probably want to use the
number->string procedurese to convert to and from numbers.
Wednesday, 18 September 2002 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Mon Dec 2 09:19:03 2002.
The source to the document was last modified on Wed Sep 18 08:45:56 2002.
This document may be found at