Creating the Registration Module

Now you will create the registration module that allows new users to register themselves and registered users to log in. Users who have forgotten their passwords can get the information mailed to them at their registered email ID or answer a hint question.

Registering New Users

Registration is a two-step process. First the user chooses an ID and specifies personal information such as the name and email address. The submitted data is validated and the database updated to insert the user information. In the next step, the user provides address information and a password and challenge combination. On submission, the address information is inserted into the database and an email sent out, informing the user ...

Get Java Server Pages from scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.