单项选择题


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


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题Given that login.getName() returns a java.lang.String value and given the JSP code:  Welcome <%= login.getName() %>Which is equivalent?()

<%>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()); %>

2.单项选择题


Which is equivalent?()
 

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

3.单项选择题


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.

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

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

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

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

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

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

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

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

最新试题

Which two are true()

题型:多项选择题

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

题型:多项选择题

Which is the true choice about the web container request processing model()?

题型:单项选择题

Which two are true?()

题型:多项选择题

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

题型:单项选择题

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 web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()

题型:多项选择题

The tag handler for n:recurse extends SimpleTagSupport.Assuming an n:recurse tag can either contain an empty body or another n:recurse tag, which strategy allows the tag handler for n:recurse to output the nesting depth of the deepest n:recurse tag?()  

题型:单项选择题

A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? ()

题型:多项选择题

Which statement, at line 16, retrieves an InputStream for the file /WEBINF/ nyresrc.bin()?

题型:单项选择题