title: refresh page after switching tab
body: <p>I've got some tabs with data. 
  How to refresh page when I switch tab?
  My tabs on the page looks like this</p>
  
  <pre><code>&lt;form&gt;
  &lt;ul id="dateTab" class="nav nav-tabs"&gt;
      &lt;c:choose&gt;
          &lt;c:when test="${activeTab eq 1}"&gt;
              &lt;li id="yd" class="active"&gt;
                  &lt;a data-toggle="tab" href="#yesterday"&gt;Yesterday&lt;/a&gt;
              &lt;/li&gt;
          &lt;/c:when&gt;
          &lt;c:otherwise&gt;
              &lt;li id="yd" class=""&gt;
                  &lt;a data-toggle="tab" href="#yesterday"&gt;Yesterday&lt;/a&gt;
              &lt;/li&gt;
          &lt;/c:otherwise&gt;
      &lt;/c:choose&gt;
      ....
  &lt;/ul&gt;
  &lt;div id="dateTabContent" class="tab-content"&gt;
      &lt;input type="hidden" id="activeTab" name="activeTab" value="${activeTab}"&gt;
      &lt;input type="hidden" id="index" name="index" value="${index + 10}"&gt;
          &lt;c:choose&gt;
              &lt;c:when test="${activeTab eq 1}"&gt;
                  &lt;div class="tab-pane active" id="yesterday"&gt;
                      &lt;tb:tableTag data="${ybooks}" id="ytable"/&gt;
                      &lt;button id="moreYbooks" class="btn btn-default" formaction="home.html"&gt;More&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/c:when&gt;
              &lt;c:otherwise&gt;
                   &lt;div class="tab-pane" id="yesterday"&gt;
                      &lt;tb:tableTag data="${ybooks}" id="ytable"/&gt;
                      &lt;button id="moreYbooks" class="btn btn-default" formaction="home.html"&gt;More&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/c:otherwise&gt;
          &lt;/c:choose&gt;
          ....
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>JQuery function looks like this</p>
  
  <pre><code>$(document).ready(
  function () {
     $("#dateTab a").click(function(e) {
        e.preventDefault();
        $(this).tab('show');
     });
  });
  </code></pre>
  
  <p>How to refresh page when I click on tab? I should change <code>href</code>?</p>