title: Spring security logout link in Facelets
body: <p>I used to have JSPs implementing spring security logout like this:</p>
  
  <pre><code>&lt;a id="logout" href="&lt;spring:url value="/j_spring_security_logout" htmlEscape="true" /&gt;"&gt;Logout&lt;/a&gt;
  </code></pre>
  
  <p>Later on when I changed to jsf 2, and started using Facelets, I can't get it to work anymore. I tried many ways. I tried this:</p>
  
  <pre><code>&lt;a id="logout" href="&amp;lt;spring:url value=&amp;quot;/j_spring_security_logout&amp;quot; htmlEscape=&amp;quot;true&amp;quot; &amp;sol;&amp;gt;"&gt;Logout&lt;/a&gt;
  </code></pre>
  
  <p>But it wont work. Can someone please help me? I really appreciate your help.</p>