javax.servlet.http.HttpSessionListener is an interface which provides the implementing class a capability to keep track of HTTP Session life cycle events. In this post, I’ll demonstrate with the help of a demo project, how to count active HTTP Sessions using HttpSessionListener
How to create cookies in Java servlet
This blog describe how to create cookies in Java servlet. The Java project used as demo in this project has been created using Eclipse and deployed and run on JBoss application server. However, any other web container like Tomcat can