I am building an online quiz. so i accepted answers from jsp page into an array. now i have to accept column of my DB into an array so that i can compare them. i have resultset and am using for loop and getstring method to access it. but its not working. please help.