阿摩線上測驗 登入

試題詳解

試卷:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899 (101-132)#84682 | 科目:OCE

試卷資訊

試卷名稱:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899 (101-132)#84682

科目:OCE

108 For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippet must you use to declare this instance variable in the JSP Document?
(A) <jsp:declaration>int count = 0;<jsp:declaration>
(B) <%! int count = 0; %>
(C) <jsp:declaration.instance>int count = 0;<jsp:declaration.instance>
(D) <jsp:scriptlet.declaration>int count = 0;<jsp:scriptlet.declaration>
正確答案:登入後查看