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>
您可能感兴趣的试卷
你可能感兴趣的试题
Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism and outputs the message "File not found" in the response?()
A.A
B.B
C.C
D.D
E.E
A. javax.servlet.http.HttpSessionListener
B. javax.servlet.http.HttpSessionValueListener
C. javax.servlet.http.HttpSessionBindingListener
D. javax.servlet.http.HttpSessionAttributeListener
A. EL
B. JSP
C. empty
D. dynamic
E. scriptless
F. tagdependent
A developer is designing a web application that must support multiple interfaces, including:
• an XML web service for B2B
• HTML for web-based clients
• WML for wireless customers
Which design pattern provides a solution for this problem?()
A. Session Façade
B. Business Delegate
C. Data Access Object
D. Model-View-Controller
E. Chain of Responsibility
A. Business Delegate and Transfer Object
B. Business Delegate and Service Locator
C. Front Controller and Business Delegate
D. Intercepting Filter and Transfer Object
E. Model-View-Controller and Intercepting Filter
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The Squeaky business team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the new system.
Which pattern can the developer use to solve this problem?()
A. Transfer Object
B. Service Locator
C. Intercepting Filter
D. Business Delegate
A. Flyweight
B. Transfer Object
C. Service Locator
D. Dispatcher View
E. Business Delegate
F. Model-View-Controller
A. Transfer Object
B. Service Locator
C. Front Controller
D. Intercepting Filter
E. Business Delegate
F. Model-View-Controller
Which is the correct web application deployment descriptor element for defining a servlet initialization parameter?()
A.A
B.B
C.C
D.D
最新试题
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"?()