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
单项选择题Giventhatlogin.getName()returnsajava.lang.StringvalueandgiventheJSPcode:WelcomeWhichisequivalent?()
<%>A. Welcome <% out.print(login.getName()); %> B. Welcome <% writer.print(login.getName()); %> C. Welcome <% response.out.print(login.getName()); %> D. Welcome <% response.writer.print(login.getName()); %> E. Welcome <% response.getOutputStream().write(login.getName()); %>%>
单项选择题Which is equivalent?()
A.A B.B C.C D.D E.E