Passing dropdown value from Jsp
<p>I have gone through <a href="https://stackoverflow.com/questions/22781525/passing-drop-down-value-through-link-in-jsp">Passing drop down value through link in JSP</a>, but still I am unable to pass dropdown value</p>

<pre><code>&lt;select name="statuses"&gt;
                    &lt;option value="1"&gt;On hold&lt;/option&gt;
                    &lt;option value="2"&gt;Confirmed&lt;/option&gt;
                    &lt;option value="3"&gt;Declined&lt;/option&gt;
                &lt;/select&gt;
                &lt;a href="&lt;c:url value="/tickets"&gt;
                   &lt;c:param name="action" value="changestatus" /&gt;
                   &lt;c:param name="ticketId" value="${entry.key}" /&gt;
                   &lt;c:param name="optVal" value="${statuses}" /&gt;&lt;/c:url&gt;" &gt;Change&lt;/a&gt;
</code></pre>

<p>But when I click on <code>Change</code> the url seems to be like this </p>

<pre><code>http://localhost:8080/customer-support/tickets?action=changestatus&amp;ticketId=1&amp;optVal=
</code></pre>

<p>As you can see that <code>optVal</code> value is empty. How can I send selected dropdown value to url?</p>