Which three are possible mechanisms for performing this initialization code?

You are creating a new JSP page and you need to execute some code that acts when the page is
first executed, but only once. Which three are possible mechanisms for performing this
initialization code? (Choose three.)

You are creating a new JSP page and you need to execute some code that acts when the page is
first executed, but only once. Which three are possible mechanisms for performing this
initialization code? (Choose three.)

A.
In the init method.

B.
In the jspInit method.

C.
In the constructor of the JSP’s Java code.

D.
In a JSP declaration, which includes an initializer block.

E.
In a JSP declaration, which includes a static initializer block.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *