Hi All,
Im working with a small database for a simple enough quiz
servlet program, i have the db working ok, it just prints out questions, im also using the DB to store the row of a random questions so that i can look up the correct answers between servlet instances.(this could be the complete wrong way to approach the problem, but it seems to work ok).my only problem is when i try to retrieve the row of the answer, im using microsoft access and i can see from the access program that its storing the correct question row as an int, but when i try to retrieve it im getting an error saying its a boolean which seems unusual since its storing correctly in the database.
this is from my checkAnswer servlet where im attempting to retrieve the answerRow, and its giving an invalid type of boolean.
any help would be much appreciated!
Go Raibh Maith Agat!