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 -

[462 byte] By [kiki824a] at [2007-10-2 22:06:06]
# 1

What exactly is the question here? How you can connect to the DB? Or how you should formulate the SQL query? Or what kind of form elements you should use?

Additionally, you should provide information about the used techniques. Sounds like you are building a web app. With what?

The more details you provide the better the answer might fit.

falke2203a at 2007-7-14 1:22:46 > top of Java-index,Java Essentials,New To Java...