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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

.JSP Login

  • 17-02-2007 1:22am
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 2,325 ✭✭✭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, Registered Users 2 Posts: 4,276 ✭✭✭damnyanks


    Are you going to use JDBCRealm at all?


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


    doyler442 is this a college project?


  • Registered Users, Registered Users 2 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, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil




Advertisement