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)}
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
<%>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
What is the result?()
A. An error occurs during page translation.
B. Translation is successful, but nothing is included in the response.
C. Both “10 x 5 = 50” and “2 * 3 = 6” are included in the JSP response.
D. The text “10 x 5 = 50” is included in the JSP response, but “2 * 3 = 6” is NOT.
E. The text “2 * 3 = 6” is included in the JSP response, but “10 x 5 = 50” is NOT.
A. The jspInit method is called.
B. The JSP page implementation class is created.
C. The JSP page implementation class is compiled.
D. The JSP page is validated for syntatic correctness.
E. The associated tag files are validated for syntatic correctness.
B. <auth-method>
C. <security-role>
D. <transport-guarantee>
E. <web-resource-collection>
A. authorization
B. data integrity
C. confidentiality
D. authentication
A. j_login
B. j_get_user
C. j_login_check
D. j_get_security
E. j_security_check
最新试题
Which the three interfaces need to be declared in the web application deployment descriptor? ()
Which two authentication mechanisms provide weaker protection than other mechanisms?()
A JSP page, current.jsp, is created to display the current weather report. The weather report is contained in a weather.html page that is rewritten every five minutes. Which line, appearing in current.jsp, ensures that the most recent version of weather.html is included whenever current.jsp is referenced?()
A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company. Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet:What is the response output of this JSP page code snippet? ()
Which statement, at line 16, retrieves an InputStream for the file /WEBINF/ nyresrc.bin()?
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
Which the JSTL code snippet can be used to import content from another web resource?()