wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "session " Watch "session " New topic
Author

session

dharmendra Rathor
Greenhorn

Joined: Mar 20, 2007
Posts: 17
4. Which of the following methods will be invoked on a session attribute that
implements appropriate interfaces when the session is invalidated? (Select one)
a sessionDestroyed of HttpSessionListener
b attributeRemoved of HttpSessionAttributeListener
c valueUnbound of HttpSessionBindingListener
d sessionWillPassivate of HttpSessionActivationListener
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
dharmendra, what do you think the answer should be? If you would also include your reasoning, then we would more easily be able to help you learn
Prafulla N. Patil
Ranch Hand

Joined: Mar 20, 2006
Posts: 106
i guess answer is

a) sessionDestroyed of HttpSessionListener


Thanks, Prafulla Patil
SCJP, SCWCD
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
Which of the following methods will be invoked on a session attribute that
implements appropriate interfaces when the session is invalidated


The attribute in the session implements the listener. Which listener is this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session
 
Similar Threads
Alternative to Cookie?
Field set in action method coming null in JSP
Session problem in NetBeans
Advice on persisting complex state across multiple server trips
ASP