I want to do a login with javaServlets.
I did this in the past with PHP. But I found this short tutorial to do it with JavaServlets: http://www.studytonight.com/servlet/login-system-example-in-servlet.php
I just wonder, how they check later if the user is logged in. In PHP I started a SESSION and within this SESSION there was the session_username/id stored. So I could just check if there is a session, and if yes I read the sessionparameter where the username is stored and so I could load user specific content.
How does this work here? Can anyone help me? Thanks!