title: How do I get current user name and other details in servlet?
body: <p>I have a login page named login.jsp for the customer to login.</p>
  
  <p>The checklogin.jsp page where I am checking the user id and password to enter into the customer UI. </p>
  
  <p>I want to have user the username and other details in my servlet. </p>
  
  <p>How can I get this details in servlet page?
  The JSP and servlet are simple registration form. I want username and details who is filling the form.</p>