jsp login form code
843836Nov 21 2004 — edited Jun 12 2006hi all
i am a student and new to jsp
imy problem is that i want to create a login form and have a page that validates the username and password ... i have tried this but i am gettin errors with my sql line . can any1 help me out
i have pasted the sql line below
ResultSet rs = stmt.executeQuery("SELECT username,password FROM myusers WHERE username='"+request.getParameter("username_signin") + "' AND password=PASSWORD('"+request.getParameter("password_signin")+"')");
thanks