多项选择题Given that a scoped attribute cart exist only in a user’s session, which two, taken independently, ensure the scoped attribute cart no longer exists?()

A. ${cart = null } 
B. <c:remove var=”cart” /> 
C. <c:remove var=”${cart}” /> 
D. <c:remove var=”cart” scope=”session” /> 
E. <c:remove scope=”session”>cart</c:remove>
F. <c:remove var=”${cart}” scope=”session” /> 
G. <c:remove scope=”session”>${cart}</c:remove>


您可能感兴趣的试卷

你可能感兴趣的试题

1.多项选择题Assume the scoped attribute priority does NOT yet exist. Which two create and set new request-scoped attribute priority to the value “medium”?() 

A. ${priority = ‘medium’ } 
B. ${requestScope[ ‘priority’ ] = ‘medium’ } 
C. <c:set var=priority” value=”medium” /> 
D. <c:set var=”priority” scope=”request”>medium</C:set> 
E. <c:set var=”priority” value=”medium” scope=”request” /> 
F. <c:set property=”priority” scope=”request”>medium</c:set> 
G. <c:set property=”priority” value=”medium” scope=”request” />

2.多项选择题Which the two JSTL URL-related tags perform URL rewriting?()

A. url
B. link
C. param
D. import
E. redirect

6.单项选择题Which the security mechanism uses the concept of a realm?()

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

7.单项选择题Which the basic authentication type is optional for a J2EE 1.4 compliant web container?()

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

8.单项选择题When adding a  element to a web application deployment descriptor, the inclusion of which sub-element requires the definition of an error page()?

A. <realm-name> 
B. <auth-metod> 
C. <auth-constraint> 
D. <form-login-config> 
E. <user-data-constaint>

9.单项选择题Which security mechanism can be directed through the  element in a web deployment descriptor()?

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

最新试题

Given that session is a valid HttpSession object:  Int max = session.getAttribute(“MyReallyLongName”);  Which is true?()  

题型:单项选择题

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

题型:单项选择题

Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

When using Form Based Authentication, which pair of fields must be used in the login form?()  

题型:单项选择题