This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 18
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: 18
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checking parameters from a jsp against mySQL table