aspose file tools*
The moose likes JSP and the fly likes checking parameters from a jsp against mySQL table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "checking parameters from a jsp against mySQL table" Watch "checking parameters from a jsp against mySQL table" New topic
Author

checking parameters from a jsp against mySQL table

induz sat
Greenhorn

Joined: Aug 06, 2013
Posts: 15
My index.jsp for Login is:



I retrieve the login attributes in a Http servlet named as userLogIn.java



How can I authenticate the log in parameters- userName and userPW in the userInfo table.
The userInfo table has three columns- serial#, username, userPW.
Serial# is the unique PK and Auto-Incremental.
I am using JDBC for connection
induz sat
Greenhorn

Joined: Aug 06, 2013
Posts: 15
I'd have to use The ResultSet interface



I am getting"" HTTP method GET is not supported by this URL"". Also, I get the same erorr with POST.
what is wrong here??



Also, please move this thread to the right place.

Thanks.
 
jQuery in Action, 2nd edition
 
subject: checking parameters from a jsp against mySQL table