多项选择题Given that a scoped attribute cart exists 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>


您可能感兴趣的试卷

你可能感兴趣的试题

2.单项选择题Which interface must a class implement so that instances of the class are notified after any object is added to a session? ()

A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener

4.多项选择题Which three are valid values for the body-content attribute of a tag directive in a tag file? ()

A. EL
B. JSP
C. empty
D. dynamic
E. scriptless
F. tagdependent

最新试题

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

题型:多项选择题

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

题型:单项选择题

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

题型:多项选择题

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

题型:多项选择题

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

题型:单项选择题

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

题型:单项选择题

Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()

题型:多项选择题

A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user. The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession. Which method in HttpSession is used to accomplish this?()

题型:单项选择题

Which two authentication mechanisms provide weaker protection than other mechanisms?()

题型:多项选择题

Which two produce the output "one, two and three"?()

题型:多项选择题