Write a client program which invokes Form.cgi with GET method specified, using either the stream socket API or the URL class.
Hand in the program listings.
Below is the data that needs to be exchanged between the client and the server:
```
>telnet www 80
Trying 129.65.241.7...
Connected to tiedye-srv.csc.calpoly.edu.
Escape character is '^]'.
GET /~mliu/form/getForm.cgi?name=Donald HTTP/1.0
HTTP/1.1 200 OK
Date: Sun, 24 Feb 2002 22:30:55 GMT
Server: Apache/1.3.9 (Unix) ApacheJServ/1.0
Connection: close
Content-Type: text/html
This page is generated dynamically by getForm.cgi.
h2>Query Results
You submitted the following name/value pairs:
-
name = Donald