validating information from a form
I'm new to java and have a project. I've created a form that accepts user name and password. upon pressing the submit button, I need to search a derby database (using sql) and see if the user and password exist. if they do not exist, i need to return a message "invalid user id / or password, please re-enter". If the data is valid, i need to display a different page altogether. i'm building a shopping cart web site that sells flowers.
Thanks -

