READ Free Dumps For Oracle- 1z0-899
Question ID 4663 | Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener? |
Option A | A. @Listener |
Option B | B. @WebListener |
Option C | C. @WebSessionListener |
Option D | D. @HttpSessionListener |
Correct Answer | B |
Question ID 4664 | You are creating a new ISP 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) |
Option A | A. In the init method. |
Option B | B. In the jspInit method. |
Option C | C. In the constructor of the JSP's Java code. |
Option D | D. In a JSP declaration, which includes an initializer block. |
Option E | E. In a JSP declaration, which includes a static initializer block. |
Correct Answer | B,D,E |