单项选择题


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.


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题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.

2.单项选择题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>

3.单项选择题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

4.单项选择题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

5.多项选择题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

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

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

7.单项选择题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

9.单项选择题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)

最新试题

Which code snippet, inserted at line 8, causes the value Company to be output?()

题型:单项选择题

Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()

题型:单项选择题

Which the three EL expressions, inserted at line 15, are valid and evaluate to "3"? ()

题型:多项选择题

Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()

题型:多项选择题

Which the two are characteristics of the Service Locator pattern?()

题型:多项选择题

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

题型:单项选择题

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

题型:单项选择题

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 two authentication mechanisms provide weaker protection than other mechanisms?()

题型:多项选择题