Computer Networks

Tutorial #20

  1. The following markup appears in the context of a form on a Web page. How would you expect it to appear on a Web page?
        <INPUT TYPE="TEXT"  NAME="Name" MAXLENGTH="64" SIZE="20">
        
  2. What is meant by the following terms:

  3. The following string of text has been urlencoded. What would the original form have looked like? Artist's impression required!
        name=Jeff+Kennett&sex=male&occupation=supreme+ruler
        
  4. The GET method is recommended for submission of form data if the submission of the form does not have side effects. What does this mean? What is the alternative?

  5. How does a CGI program written for a GET method obtain data from a form?

  6. Why are applets needed to achieve interactivity on Web pages? Can't you achieve the same thing using forms and CGIs on the server?

  7. Why does Java compile to bytecode instead of to real binaries for a (for example) PC - ie, a .exe file? At least two answers required here!

Practical exercises:


[Previous Tutorial] [Tutorial Index] [Next Tutorial]
Phil Scott