File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checking parameters from a jsp against mySQL table
 
Similar Threads
error in servlet
problem in name and password fields validation
Login JSP page using mysql(DB)
Null Pointer Exception in JSP servlet
Updating/inserting data through servlet using JDBC