Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

.JSP Login

Options
  • 17-02-2007 2:22am
    #1
    Registered Users Posts: 325 ✭✭


    im just wondering would anyone be able to help me.

    I need to be able to have a html page where a user enters username and password, this then goes to the database and checks to see if they are right and then it lets them on to the next page.

    does anyone perhaps have a sample of such code or is there someone that could help me.

    thanks


Comments

  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    Why JSP?


  • Registered Users Posts: 2,320 ✭✭✭Q_Ball


    Google is your friend for this one. What you're looking to do is take

    1)some sort of form with the values of your user and password,
    2)open a connection with the database,
    3)query the database,
    4)process some sort of return/result set.

    Should be easy enough to work out your answer from there, regardless of language.

    Course, thats not very secure ;)


  • Registered Users Posts: 4,276 ✭✭✭damnyanks


    Are you going to use JDBCRealm at all?


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    doyler442 is this a college project?


  • Registered Users Posts: 325 ✭✭doyler442


    ya its part of college prj alright, just cant get the bloody login to work.
    thanks for your replies by the way


  • Advertisement
  • Registered Users Posts: 7,468 ✭✭✭Evil Phil




Advertisement