单选题Which interface must a class implement to be informed of a session creation event?()A
javax.servlet.http.HttpSessionListenerB
javax.servlet.http.HttpSessionBindingListenerC
javax.servlet.http.HttpSessionCreationListenerD
javax.servlet.http.HttpSessionActivationListener
第1题:
In your web application,you need to execute a block of code whenever the session object is first created. Which design will accomplish this goal?()
第2题:
A system is being designed with many LPARs which will be clients of dual VIO Servers. The VIO Servers must be redundant so that, in the event of scheduled maintenance, the clients do not need to be shut down. Which of these strategies could be used to ensure that the client LPARs continue to be able to use the network in the event of a VIO Server being shut down?()
第3题:
Which statements about inheritance are true?()
第4题:
A developer wants too use EL to invoke a function using S{my:bloof(“foof”)}. Which is always true?()
第5题:
Which interface must a class implement so that instances of the class are notified after any object is added to a session? ()
第6题:
Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?()
第7题:
A filter must implement the destroy method.
A filter must implement the doFilter method.
A servlet may have multiple filters associated with it.
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the FilterChain.forward method.
第8题:
ICommunicationObject
IExtension
IExtensibleObject
IExtensibleDataObject
第9题:
A
The echo tag handler must define the setAttribute (String key, String value) method
The
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
第10题:
Create an HttpSessionListener class and implement the sessionInitialized method with that block ofcode.
Create an HttpSessionActivationListener class and implement the sessionCreated method with thatblock of code.
Create a Filter class, call the getSession(false) method, and if the result was null, then execute that block of code.
Create an HttpSessionListener class and implement the sessionCreated method with that block of code.
第11题:
In Java programming language only allows single inheritance.
In Java programming language allows a class to implement only one interface.
In Java programming language a class cannot extend a class and implement a interface together.
In Java programming language single inheritance makes code more reliable.
第12题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
javax.servlet.http.HttpSessionActivationListener
第13题:
Voice quality is bad due to high delay and jitter on a link. Which two actions will improve the quality of voice calls?()
第14题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第15题:
Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()
第16题:
Which three are true about servlet filters?()
第17题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第18题:
You are developing a data contract for a Windows Communication Foundation (WCF) service. The data in the data contract must participate in round trips. Strict schema validity is not required. You need to ensure that the contract is forward-compatible and allows new data members to be added to it. Which interface should you implement in the data contract class?()
第19题:
The method invoked by this function must be statie.
The function class must implement the Function interface.
The expression is NOT a valid EL expression for invoking a function.
The function must be declared in a web.xml file using the
The function class must have a method with the signature:Void bloof (java.lang.Strings)
第20题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionValueListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
第21题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionCreationListener
javax.servlet.http.HttpSessionActivationListener
第22题:
DataPagingField
DataPagerCollection
DataPager
DataPaging
第23题:
Create an HttpSessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getName method on the event object.
Create an HttpSessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getName method on the event object.
Create an SessionAttributeListener class and implement the attributeRemoved method and log the attribute name using the getAttributeName method on the event object.
Create an SessionAttributeListener class and implement the attributeDeleted method and log the attribute name using the getAttributeName method on the event object.
第24题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionValueListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener