Login using JSP Example: The Login in JSP is based on the Session object, here there are three files: login(Sign-in) form, check sign-in JSP code,.