title: How redirect the url from h:commandLink
body: <p>Do I remember right or the parameter immediate set to true should change the url of the browser?
  If it is correct, why doesn't this link works properly?</p>
  
  <pre><code>
  
      &lt;h:form&gt;
      &lt;h:commandLink immediate="true" action="/url_page.xhtml" value="Label link"/&gt;
      &lt;/h:form&gt;
  
  </code></pre>
  
  <p>After some research I found a question where the author added the string "?faces-redirect=true" to the url... Is it work like I would? Should I set something else?
  Thank you for your help.</p>
  
  <p>P.S.: I tried also h:link but, perhaps, it doesn't execute all thing because after that the next page returns a nullpointerException but the url change as I want...</p>
  
  <p>Solution complete: I change the action of my h:commandLink to call a method that returns /url_page?faces-redirect=true because I found that nullpointer exception was into a servlet-filter...
  Thank you @BalusC and @Matt !</p>