title: how to on select change value should display in JSP
body: <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Echoing HTML Request Parameters&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h3&gt;Choose an author:&lt;/h3&gt;
    &lt;form method="get"&gt;
   &lt;input type="text" name="usrname"&gt;&lt;br&gt;
  &lt;select name="car"&gt;
    &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
    &lt;option value="saab"&gt;Saab&lt;/option&gt;
    &lt;option value="mercedes"&gt;Mercedes&lt;/option&gt;
    &lt;option value="audi"&gt;Audi&lt;/option&gt;
  
  &lt;/select&gt;
  
  &lt;input type="submit" value=Query&gt;
  &lt;/form&gt;
  
    &lt;%
    String k=request.getParameter("usrname");
    String s=k+request.getParameter("car");
    out.println(s);
     %&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is my code. currently I am able to display Input text and on select value on console. Now I want display on select from Option and it should display of input text and select value on Console please implement this or help me to Implement. I am trying to do this but not able to do in <code>JSP</code>.</p>