title: How would you easily validate a JSP option pick list?
body: <p>I need to validate this simple pick list:</p>
  
  <pre><code>&lt;select name="&lt;%= key %&gt;"&gt;
      &lt;option value="ETC" SELECTED&gt;Select an option...&lt;/option&gt;
      &lt;option value="ONE"&gt;Lorem ipsum&lt;/option&gt;
      &lt;option value="TWO"&gt;dolor sit amet&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>So the user would never submit the form with the, excuse the repetition, "Select an option..." option selected. In principle I'm allowed to use JavaScript but It'd be interesting to learn how to solve it within JSP too.</p>