Question 1
The GET and POST methods are specified in ________.
◦ a Java program
◦ an HTML form
◦ a URL string
◦ a CGI program
Question 2
Which of the following statements are true?
◦ If the GET method is used, the data in the form are appended to the request string as if they were submitted using a URL.
◦ If the POST method is used, the data in the form are packaged as part of the request file. The server program obtains the data by reading the file.
◦ The POST method always triggers the execution of the corresponding CGI program. The GET method may not cause the CGI program to be executed if the previous same request is cached in the Web browser.
◦ When issuing a request from an HTML form, either a GET method or a POST method can be used. The form explicitly specifies which of the two is used.