If the value and the display text for the select options will be the same, any list element will do to store the values. Do not, under any circumstances pass the resultset to UI code. Copy the values to a List or array and pass that after closing the resultset.
If the value and display text are to be different a sorted Map (TreeMap for example) can be useful to pass the value/text pairs.
Once the list is passed to the page controller, it can place the list as a scoped variable in request scope.
From there, the
JSP can use JSTL and EL to easily create the <select> and its <option> elements from the list.
[ July 13, 2008: Message edited by: Bear Bibeault ]