javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
javax.servlet.http.HttpSessionActivationListener
第1题:
Which three are described in the standard web application deployment descriptor?()
第2题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第3题:
You have a use case in your web application that adds several session-scoped attributes. At the end of theuse case, one of these objects, the manager attribute, is removed and then it needs to decide which of theother session-scoped attributes to remove. How can this goal be accomplished?()
第4题:
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is 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题:
End users want to map a network drive on their PCs when they are connected to the Junos Pulse Access Control Service. The mapped drive must be removed when users disconnect their session.Which feature addresses this requirement?()
第7题:
id
name
bean
type
scope
第8题:
Message Type
Calling Number
Assigned Session ID
Called Number
Call Serial Number
第9题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionCreationListener
javax.servlet.http.HttpSessionActivationListener
第10题:
when a session is created
after a servlet is destroyed
when a session has timed out
when a cookie has been created
when a servlet has forwarded a request
when a session attribute value is changed
第11题:
agent session scripts
preconfiguration installer
Junos Pulse component set
agent actions
第12题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
javax.servlet.http.HttpSessionActivationListener
第13题:
Which three are described in the standard web application deployment descriptor?()
第14题:
A session-scoped attribute is stored by a servlet, and then that servlet forwards to a JSP page. Which threejsp:useBean attributes must be used to access this attribute in the JSP page?()
第15题:
For which three events can web application event listeners be registered?()
第16题:
Which the statement is true about web container session management()?
第17题:
You are customizing the user interface options for the finance department in your organization. Users in the department are able to see a session counter on the Web interface of the Junos Pulse Access Control Service. The CFO is unable to see the session counter.Which explanation would cause this behavior?()
第18题:
The value returned needs to be cast to an int.
The getAttribute methos takes two arguments.
Primitive CANNOT be stored in the HttpSession.
The HttpSession attribute name must NOT exceed eight characters.
第19题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionValueListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
第20题:
Access to session-scoped attributes is guaranteed to be thread-safe by the web container.
To activate URL rewriting, the developer must use the HttpServletResponse.setURLRewriting method.
If the web application uses HTTPS, then the web container may use the data on the HTTPS request stream to identify the client.
The JSESSIONID cookie is stored permanently on the client so that a user may return to the web application and the web container will rejoin that session.
第21题:
The object of the manager attribute should implement the HttpSessionBindingListener and it should call the removeAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionListener and it should call the removeAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionBindingListener and it should call the deleteAttribute method on the appropriate session attributes.
The object of the manager attribute should implement the HttpSessionListener and it should call the deleteAttribute method on the appropriate session attributes.
第22题:
The CFO is mapped to the finance role, but the session counter was enabled prior to the role mapping.
The CFO is mapped to the finance role, but the session counter was enabled after the role mapping.
The CFO is mapped to the executive and finance roles, but the CFO was mapped to the executive role first, which does not have the session counter enabled.
The CFO is mapped to the executive and finance roles, but the CFO was mapped to the executive role last, which does not have the session counter enabled.
第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