title: How to make a login mechanism for a java web application?
body: <p>I'm trying to make a java web application in netbeans. This project must contain jsp pages and the user must have the possibility to log in. I have no idea how to make the login mechanism. I'm using IDE netbeans , glassfish server and hibernate to connect with my mysql database.</p>