The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Session Listeners confusion? 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 Listeners confusion?" Watch "Session Listeners confusion?" New topic

Session Listeners confusion?

Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Please help me to understand the answer of this question.
Source of question: Self created for understanding.
This is the piece of code in Servlet:

This is the code of SessionTest class:

What will be the output ??
I think answer should be
or 16334789257

Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

any one please confirm this..!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Session Listeners confusion?
Similar Threads
which listener will have no impact on application?
listeners problem!
is this a bug?
mistake in JavaDocs(JDK1.4) regarding Listeners
Doubt regarding Listeners