title: What URL to use to link / navigate to other JSF pages
body: <p>I am confused about how to link between files in a Java Server Faces project, when some of the files are in sub-folders. (I was going to attach screenshots so you can see the Nebeans project view, and files view of the example I am trying.... but I'm not allowed to add images yet).  </p>
  
  <p>I my example project I have files called "index.xhtml" and "calculate/calculate.xhtml".  I also have a file called "template.xhtml" which is used by both.  The question is what url format to use in the template that will work for both files.</p>
  
  <p>In straight html I would just use something like the following to provide a link back to the home page that would work from any location:</p>
  
  <pre><code>&lt;a href="/index.html"&gt;Home&lt;/a&gt;
  </code></pre>
  
  <p>But I can't figure out what counts as the root folder for a JSF application, and whether to use the "project view" folder structure or the "files list" folder structure.</p>