title: Refreshing Page With A Parameter in JSP
body: <p>I have a JSP page in my web application and i want to refresh the page with the parameter of option.</p>
  
  <pre><code>&lt;select class="form-control combobox"  name="education" &gt;
      &lt;option value="" disabled selected hidden&gt;Choose an education&lt;/option&gt;
      &lt;option&gt;English&lt;/option&gt;
      &lt;option&gt;French&lt;/option&gt;
      &lt;option&gt;Dutch&lt;/option&gt;
      &lt;option&gt;Spanish&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I want to use this parameter for querying my database again. Forexample;</p>
  
  <pre><code> &lt;%
  
      BookDAO bdao = new BookDAO();
      for (TblBooks book : bdao.getAllBooks()) {%&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;%=book.getTittle()%&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%=boek.getAuthor()%&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%=boek.getCategory()%&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%=boek.getEducation()%&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input type='checkbox' name ='chk1' /&gt;&lt;/td&gt;
      &lt;/tr&gt;
  
  &lt;% }%&gt;
  </code></pre>
  
  <p>I can get the parameter with request.getParameter("education") but how can i refresh page and query again with this parameter?</p>