Multiple choice

Which method of servlet is invoked once per a request and is responsible for generating the response to that request?

  1. service()

  2. init()

  3. destroy()

  4. GET

  5. POST

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

This method of a servlet is invoked once per a request and is responsible for generating the response to that request.