MySQL Forums
Forum List  »  InnoDB

servlet for radio buttons
Posted by: Shweta Sivashankar
Date: April 14, 2005 05:23AM

I have a webpage, with radio buttons in them. There are 4 possible choices, only one of which is the right answer. this right answer is stored in a MySql database. Does anyone know the code to put in the servlet to check whether the radio button checked by the user corresponds to the right answer in the databse? The connection is fine, when I run the servlet I get this error:

Sorry, your answer is incorrect. The correct answer wascom.mysql.jdbc.ResultSet@93d6bc.

thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
servlet for radio buttons
3435
April 14, 2005 05:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.