JSP help. database connectivity

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
well i am trying to get a login page to work, however this time with database. there are like 5 users, name and pass. however it seems as if the username is not loading correctly, or the pass or something. i have no way to actually know what is being passed as i have no way to debug.

any suggestions?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
What's going wrong exactly? You're just not getting any rows back?
 

MikeMike

Lifer
Feb 6, 2000
45,885
66
91
Originally posted by: kamper
What's going wrong exactly? You're just not getting any rows back?

i am not getting anything. anytime i try to login and run that page, it ends up booting me back to the index because the session isnt set right (set to not allow) even if the user/pass should match.

MIKE
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
I don't understand. Which sendRedirect() call is being executed? You should probably rip out all the redirects and just print out the results of your query to debug it first.