If possible can anyone help me with the following:

I have set up a registration form which adds records to a database. The database has a table which contains a username and password fields. How do i construct a jsp login page which will allow users to access their already submitted data for update purposes.

The main thing at the moment is a login page, i really havent a clue how to check the database for the users details and display their already submitted details