单项选择题


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

A. Create a user called vip in the security realm
B. Define a group within the security realm and call it vip
C. Define a security-role named vip in the development descriptor
D. Declare a security-role-ref for vip in the deployment descriptor


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题Which two authentication mechanisms provide weaker protection than other mechanisms?()

A. HTTP Basic Authentication
B. Form Based Authentication
C. HTTP Digest Authentication
D. HTTPS Client Authentication

3.多项选择题

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

A. ${vals.2 }
B. ${vals ["2"]}
C. ${vals.index }
D. ${vals[index]}
E. ${vals} [index]
F. ${vals.(vals.index)}
G. ${vals[vals[index-1]]}

5.多项选择题


Which two are true?()

A. The function method must have the signaturepublic: String spin().
B. The method must be mapped to the logical name “spin” in the web.xml file.
C. The function method must have the signature:public String spinIt().
D. The function method must have the signature:public static String spin().
E. The function method must have the signature:public static String spinIT().
F. The function class must be named Spinner, and must be in the package com.example.

6.多项选择题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?()

A. ${product ID}
B. ${param.productID}
C. ${params.productID}
D. ${params.productID[1]}
E. ${paramvalues.productID}
F. ${paramValues.productID[0]}
G. ${pageContext.request.productID}

10.多项选择题Which two classes or interfaces provide a getSession method?()

A. javax.servlet.http.HttpServletRequest
B. javax.servlet.http.HttpSessionContext
C. javax.servlet.http.HttpsServletResponse
D. javax.servlet.http.HttpSessionBindingEvent
E. javax.servlet.http.HttpSessionAttributeEvent

最新试题

Which two classes or interfaces provide a getSession method?()

题型:多项选择题

Which the two are true regarding a web application class loader?()

题型:多项选择题

A developer is designing a web application which extensively uses EJBs and JMS. The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides a solution for this problem?()

题型:单项选择题

Which the three are true about servlet filters?()

题型:多项选择题

Within the web application deployment descriptor, which defines a valid JNDI environment entry()

题型:单项选择题

Assume session is an HttpSession, and is not referenced anywhere else in ServletA. Which two changes, taken together, ensure that value is equal to “Hello” on line 23? ()

题型:多项选择题

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

题型:单项选择题