title: how can I capture the value from a DropDown menu at jsp to Servlet?
body: <p>I want to use a dropdown menu on my JSP but... I have no idea how to capture the Value of the Selected Item and Pass it on to my Servlet and have some QUERY to add the value to my database.</p>
  
  <p>Can you give me some idea or clue how to code it?</p>
  
  <p>PS. I also need items at dropdown menu converted into an Integer cause i'll be adding it to the stored data at my database.</p>
  
  <p>Will this be hard for a starter like me?
  should I use Textbox and let the user input an INTEGER manually instead of a Dropdown menu?</p>
  
  <p>Thanks a lot in advance :)</p>
  
  <p>My Jsp <strong>Menu</strong> is like this:</p>
  
  <pre><code>&lt;body&gt;
      &lt;form action="AddPoints"&gt;
        &lt;table width="408" border="0"&gt;
          &lt;tr&gt;
            &lt;td width="402"&gt;&lt;h3 align="center"&gt;Enter Points:&lt;/h3&gt;
              &lt;h3 align="center"&gt;
                &lt;label for="Points"&gt;&lt;/label&gt;
                &lt;select name="Points" size="1" id="Points"&gt;
                  &lt;option value="5" selected&gt;5&lt;/option&gt;
                  &lt;option value="10"&gt;10&lt;/option&gt;
                  &lt;option value="15"&gt;15&lt;/option&gt;
                  &lt;option value="20"&gt;20&lt;/option&gt;
                  &lt;option value="25"&gt;25&lt;/option&gt;
                &lt;/select&gt;
                &lt;br/&gt;
              &lt;/h3&gt;
              &lt;h3 align="center"&gt;&lt;strong&gt;&lt;/strong&gt;
                &lt;input type="submit" name="AddPoints" id="AddPoints" value="Add Points"&gt;
            &lt;/h3&gt;&lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Also I am wondering if the <strong>value</strong> at this line: <code>&lt;option value="25"&gt;25&lt;/option&gt;</code> is the real value that my servlet can capture?</p>
  
  <p>Sorry if i have so many questions... :)</p>