March 19th, 2003, 12:35 PM
Password and user name validation
I think I have built a bit of code that searchs through the database for a row that matches both the user name and password, but i wish to know this:
How do I link this method to the submit button so that when pressed it searchs the database then allows the user to enter if the fields are valid?
The result from the search goes into a Resultset rs variable but what do I do with this and how can I tell it to go to the home page if there is a result?
Please help me,
March 20th, 2003, 08:43 AM
create a jsp page with tag using the method.
then create a form sending to this page.