A. /classes B. /index.html C. /MANIFEST-INF D. /WEB-INF/web.xml E. /WEB-INF/classes F. /WEB-INF/index.html G. /META-INF/index.xml
单项选择题Whichelement,definedasachildofaelementinthewebapplicationdeploymentdescriptor,guaranteesaservletwillbeinitializedatthetimetheapplicationisdeployed?()
A. <load-on-startup/> B. <load-on-startup>1</load-on-startup> C. <load-on-startup>-1</load-on-startup> D. <load-on-startup>true</load-on-startup>
单项选择题Within a web application deployment descriptor, which maps the com.example.LoginServlet servlet to utils LoginServlet?()
A.A B.B C.C D.D
多项选择题Which three EL expressions, inserted at line 16, are valid and evaluate to “d”? ()
A. ${map.c} B. ${map[c]} C. ${map[“c”]} D. ${map.map.b} E. ${map[map.b]} F. ${map.map(map.b)}
单项选择题GivenanELfunctionfoo,innamespacefunc,thatrequiresalongasaparameterandreturnsaMap,whichtwoarevalidinvocationsoffunctionfoo?()
A. ${func(1)} B. ${foo:func(4)} C. ${func:foo(2)} D. ${foo(5):func} E. ${func:foo(“easy”)} F. ${func:foo(“3”).name}
单项选择题What is the result?()
A. true true B. false true C. false true 0 D. true true Infinity E. false true Infinity F. An exception is thrown. G. Compilation or translation fails