Which of the following are true statements about the JavaServer Page life cycle? (Choose two.)

  1. The _jspService() method is called from the generated servlet's service() method.

  2. jspInit() is only ever called on the first request to a JSP instance.

  3. jspDestroy() is only ever called on the last request to a JSP instance.

  4. All servlet methods are accessible from the jspInit() method.

  5. You cannot override or provide a no-parameter init() method in a JSP page.


Correct Option: A,D

Find more quizzes: