How can my application get to know when a httpsession is removed?



How can my application get to know when a httpsession is removed?..

Answer / Prabal Pandey

<html><body>To be notified when an HttpSession is removed, you can implement the HttpSessionListener interface and register it with your web application. The sessionDestroyed() method will be called whenever a session is about to be or has been destroyed.</body></html>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

How to restrict page errors display in a JSP page?

1 Answers  


How do you import the packages in the JSP?

14 Answers   HCL, Hyderabad Central University,


What are the implicit el objects in jsp?

1 Answers  


What is jstl jar?

1 Answers  


How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.

1 Answers   ABB,


What does jstl mean?

1 Answers  


Explain jsp technology?

1 Answers  


What do you know about jsp expression language (jsp expression language – el)?

1 Answers  


What is context in jsp?

1 Answers  


What are the different directives in jsp?

1 Answers  


How we can use javascript with jsp pages?

1 Answers  


How can I use jsp in the mvc model?

1 Answers  


Categories