title: Select tag in HTML, how to check which option is selected
body: <p>I have a select tag with a bunch of option tags and I want to use JSTL to check which option has been selected but not sure where to begin. If I select one of the options then I need the JSTL to check it but that only runs when the page reloads so if I reload the page, then the option is reset to default. So how would I send a value to the JSTL code?</p>
  
  <p>I have done this option by using:</p>
  
  <pre><code>&lt;input type="submit" name="SignInButton" value="Sign In" /&gt;
  &lt;input type="hidden" name="submitted" value="true" /&gt;
  </code></pre>
  
  <p>for buttons for example and then using something like this:</p>
  
  <pre><code>&lt;c:when test="${param.SigningOut == 'true' &amp;&amp; sessionScope.SignedIn == 'true'}"&gt;
  </code></pre>
  
  <p>To check it but I don't know how to do it for multiple options in a down list using </p>
  
  <p>I hope it makes sense what I am trying to do. Thanks for reading.</p>