I have an application that uses Tomcat FORM based authentication. I'm able to login successfully, but I don't know how to get the username. I'm having users log in with their email address and on the page they are redirected to (request.jsp), I want to capture the email address they entered so I can display it, and use it in the servlet that runs when that request.jsp form is submitted.
Any pointers on how to achieve this would be appreciated. Thanks!