多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题