I have developed a website and to allow more than one user to login I have implemented SessionListener and ContextListener.
But there are few issues with that:
1- I feel this is not the correct way as per the Struts 2 architecture, as it uses ServletContext - correct me if I'm wrong.
2- I'm unable to check whether the user is logged in.
So, what is the correct way to go about it, any references or link with examples.