单项选择题


Which is equivalent?()
 

A.A
B.B
C.C
D.D
E.E


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题


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.

2.多项选择题Which three occur during JSP page translation?()

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.

3.单项选择题Which element of a web application deployment descriptor  element is required()?

A. <realm-name> 
B. <auth-method> 
C. <security-role> 
D. <transport-guarantee> 
E. <web-resource-collection>

4.单项选择题Which security mechanism is employed only on the server-side to limit access to resources or components?()

A. authorization
B. data integrity
C. confidentiality
D. authentication

5.单项选择题When using a form-based authentication, which action must be used in the login form?()

A. j_login
B. j_get_user
C. j_login_check
D. j_get_security
E. j_security_check

6.多项选择题Which two pieces of information are needed when declaring the web resource collection in the deployment descriptor?()

A. the URL pattern that requires authorization
B. the HTTP methods that require authorization
C. the users allowed access to the web resource
D. the J2EE roles allowed access to the web resource
E. the authentication mechanism required by the web resource

7.多项选择题Which two security mechanisms protect the response stream?()

A. authorization
B. data integrity
C. confidentiality
D. authentication

8.单项选择题In form-based authentication, what must be included in the HTML returned from the URL specified by the  element?()

A. a base-64 encoded user name and password
B. a form that POSTs to the j_security_check URL
C. an applet that requests the user name and password from the user
D. a hidden field that supplies the login-constraint used by the application

10.单项选择题For a given ServletResponse response, which retrieves an object for writing binary data?()

A. response.getWriter()
B. response.getOutputStream()
C. response.getOutputWriter()
D. response.getWriter().getOutputSTream()
E. response.getWriter(Writer.OUTPUT_BINARY)

最新试题

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?()  

题型:单项选择题

Which the three interfaces need to be declared in the web application deployment descriptor? ()

题型:多项选择题

What code, inserted at line 21, is called prior to a session being migrated to a different JVM assuming the web application containing MyExample is deployed in a container which supports distributed applications?()

题型:单项选择题

Which three can be placed at line 23 to retrieve an existing HttpSession object?()

题型:多项选择题

Which two are true()

题型:多项选择题

What else must the developer do to ensure that the intended security goal is achieved()?  

题型:单项选择题

Which the JSTL code snippet can be used to import content from another web resource?()

题型:单项选择题

Given the HttpServlet code:  getServletContext().setAttribute(“foo”, “value”);What is the result?()

题型:单项选择题

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 is the true choice about the web container request processing model()?

题型:单项选择题