So have you done any debugging at all? Is the line of code inside the "rs.next()" loop ever called? Don't make us guess, tell us what is happening in that code. Remember that it's only a code fragment so we have no way of running it and finding out what it does.
Obviously that isn't going to help because you are using a database. So, no. What you should do now is to ShowSomeEffort ( <-- follow that link and read it). After you read that, see if you can answer the question I already asked.