You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()
- 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.
正确答案:B,D,E
答案解析:有

微信扫一扫手机做题