This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Dave's suggestion is good. Another option would be to iterate through the list of records returned from the database and populate your form with a list of LabelValueBean objects that have the desired label value.
BTW, I am a little curious about your usage of name="<%=formName%>". By default the html tags use the form name of the enclosing html:form tag if a name property is not given. I cannot remember a case where I used a scriptlet to populate the property.