#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    9
    Rep Power
    0

    Password and user name validation


    Hi,
    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,

    Maytrix
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Hong Kong
    Posts
    2
    Rep Power
    0
    create a jsp page with tag using the method.
    then create a form sending to this page.

IMN logo majestic logo threadwatch logo seochat tools logo