3 Replies Latest reply on Nov 23, 2010 8:32 AM by darrylburke

    populating combo box

      I am doing a java program.
      In which I have a jsp page, and on that I have two combobox.
      I have a create a java bean, in which I write a method "result" which return a arraylist.

      I want to populate the combobox by extracting data from database. which I have extarcted from in javabean.

      <select name="day">
      <option value="<%= JdbcQueryBean.result() %>"><%=JdbcQueryBean.result()%></option>

      But this command showing all the value in one row, not in the from of list.

      Please help.

      can anyone suggest me some JSTL for this
      Thanks in advance