This content has been marked as final. Show 3 replies
814605 wrote:How about a <c:forEach> tag where you iterate the arraylist and create an <option> for every element in the list?
can anyone suggest me some JSTL for this
The option tag under select tag corresponds to a single row. For every row, you need a have a option tag in the rendered HTML.
That is the reason why you are being displayed all the values in a single row.
As per the prior suggestion, you can use the loop tag over your results to display as required.