title: save all options of struts select element
body: <p>I would like to implement a dynamic select element using struts. I need to allow the user to add option elements to a select element on a page, then save all options when the form is submitted, not just the selected option. As a matter of fact, I do not even care about the selected option once submitted.</p>
  
  <p>For instance, when a user enters a page, the select element is populated by a collection in the form bean. The user can then add, edit or remove options in the displayed select element (via jQuery, javascript). Then, the updated set of options are sent to the server when the user submits the form.</p>
  
  <p>Here is where I am starting:</p>
  
  <pre><code>&lt;html:select property="myList"&gt;
    &lt;html:options property="myList"/&gt;
  &lt;/html:select&gt;
  </code></pre>
  
  <p>Is there a neat clean way to do this with the struts tags?</p>