aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes session Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply 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
ASP
Session problem in NetBeans
Field set in action method coming null in JSP
Advice on persisting complex state across multiple server trips
Alternative to Cookie?