title: the button click redirect to the page based on selected options in jsp
body: <p>how to move to maize.jsp or wheat.jsp,while the user selects either "maize" or "wheat" option and click ok button 
  thank u! 
  the sample code is here </p>
  
  <pre><code>     &lt;form action="index.jsp" method="post"&gt;
           &lt;select name="Crop_Type"&gt;
  
            &lt;option  onchange = "maize.jsp" value="maize"&gt;maize&lt;/option&gt;
            &lt;option onchange = "wheat.jsp" value="wheat"&gt;wheat&lt;/option&gt; 
            &lt;/select&gt;
          &lt;input type="submit" value="OK" name="submit"/&gt;
      &lt;/form&gt;
  </code></pre>