Multiple choice technology programming languages

What are the life-cycle methods of JSP?

  1. jspInit()

  2. jspService()

  3. jspDestroy()

  4. jspEnd()

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

JSP has three lifecycle methods: jspInit() is called when the JSP is first initialized (similar to servlet init), jspService() is called for each request (the _jspService method handles the actual processing), and jspDestroy() is called when the JSP is being taken out of service. There is no jspEnd() method in the JSP lifecycle specification.