Hi I have a web application deployed on tomcat. I have used custom login module of JAAS for authentication and provided login and error page in web.xml.
I want to access message of login exception which I threw in login module into error page - so that custom message can be displayed to user. How to achieve this? Thanks!