Multiple choice technology web technology

The Web server that executes the servlet creates an _________ object and passes this to the servlet's service method (which, in turn, passes it to doGet or doPost).

  1. HttpServletResponce

  2. HttpRequest

  3. ServletRequest

  4. HttpServletRequest

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The servlet container creates an HttpServletRequest object representing the client request and passes it to the service() method (which then delegates to doGet(), doPost(), etc.). This object contains request metadata, parameters, headers, and session info.