SOFTWARE TESTING
TESTING PRINCIPLES AND CONCEPTS
| Question 
 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
 | 
 Java servlets usually need to run on a protocol. Which protocol do they run on that is an asymmetrical request-response protocol? (Unit 13) 
|  |  HTML 
 | 
|  |  SMTP 
 | 
|  |  FTP 
 | 
|  |  HTTP 
 | 
 Explanation: 
Detailed explanation-1: -Java servlets typically run on the HTTP protocol. HTTP is an asymmetrical request-response protocol.
Detailed explanation-2: -doPost. Called by the server (via the service method) to allow a servlet to handle a POST request. The HTTP POST method allows the client to send data of unlimited length to the Web server a single time and is useful when posting information such as credit card numbers.
Detailed explanation-3: -The HttpServlet class extends the GenericServlet class and implements Serializable interface. It provides http specific methods such as doGet, doPost, doHead, doTrace etc.
 There is 1 question to complete.