Rearrange your logic. You're now printing a new table row with a new dropdown with only one option for every row from the database. Think smart.
That said, you shouldn't be mingling presentation logic with data access logic. Just map the resultset to a collection of the desired objects and pass it through to
JSP where you use JSTL's c:forEach like the following:
[ December 22, 2008: Message edited by: Bauke Scholtz ]