title: How to hide Error message on page refresh?
body: <p>Hi I am working on a web site, where i have a login page, on wrong credentials it shows a message on div , but i need to hide this message after i refresh the same error page. I am new to JQuery Javascipt and need to implement this feature anyhow.</p>
  
  <pre><code>&lt;c:if test="${not empty error}"&gt;
      &lt;div class="alert alert-error text-center"&gt;
          ${error}
          &lt;button class="close" data-dismiss="alert"&gt;&lt;/button&gt;
      &lt;/div&gt;
  &lt;/c:if&gt;
  </code></pre>
  
  <p><strong>Added:</strong></p>
  
  <p>Or is there any other way to redirect this page to another page(login) on Refresh.?</p>
  
  <p>Please help on above.</p>