title: refresh a xhtml page
body: <p>I've registration.xhtml page, where user will enter data to get registered. I've written code in such a way that, if user clicks on register or Cancel button the page is refreshed and the fields become empty.But suppose if the User gives some data in the registration screen, for some reason User goes to some other page(menu1) in the application and comes back to the registration page, the data entered is still being displayed.</p>
  
  <p>I need some suggestion such that each time user click on the links in header the page should be refreshed, where my header page has many links, each of which is a xhtml page
  Following is my header page </p>
  
  <pre><code>&lt;html&gt;
  &lt;f:view&gt;
      &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
        &lt;title&gt;Untitled Document&lt;/title&gt;
        &lt;link rel="stylesheet" href="css/styles.css" type="text/css"&gt;
        &lt;title&gt;JSP Page&lt;/title&gt;
      &lt;/head&gt;
      &lt;body bgcolor="#FFFFFF" &gt;
       &lt;h:form&gt;
       &lt;div id="navigation"&gt;
        &lt;ul id="mainMenu"&gt;                     
         &lt;li class="cat-item cat-item-3"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;
          &lt;h:outputLink value="register.jsp" &gt;
           &lt;h:outputText value="Registration"/&gt;&lt;/h:outputLink&gt;
          &lt;/li&gt; 
          &lt;li class="cat-item cat-item-2"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;
           &lt;h:outputLink value="menu1.jsp"&gt;
            &lt;h:outputText value="MENU1"/&gt;&lt;/h:outputLink&gt;
          &lt;/li&gt;
          &lt;li class="cat-item cat-item-2"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;
           &lt;h:outputLink value="menu2.jsp"&gt;
            &lt;h:outputText value="MENU2"/&gt;&lt;/h:outputLink&gt;
          &lt;/li&gt;
         &lt;/div&gt;
         &lt;/h:form&gt;
        &lt;/body&gt;
       &lt;/f:view&gt;
      &lt;/html&gt;
  </code></pre>