Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

checking parameters from a jsp against mySQL table

 
induz sat
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic