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
A. HttpSession
B. ServletConfig
C. ServletContext
D. HttpServletRequest
E. HttpServletResponse
A. when a session is created
B. after a servlet is destroyed
C. when a session has timed out
D. when a cookie has been created
E. when a servlet has forwarded a request
F. when a session attribute value is changed
最新试题
Which two produce the output "one, two and three"?()
Which three are guaranteed to be valid for the element of a web application deployment descriptor?()
Which the two are valid and equivalent?()
Which code snippet, inserted at line 8, causes the value Company to be output?()
Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()
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? ()
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?()
Which two classes or interfaces provide a getSession method?()
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
Which the three are true about servlet filters?()