title: How to link from a page to another in Grails
body: <p>I know that in HTML, if we have a button we want to link it to another page we use the tags below:       <code>&lt;a href="#"&gt; button &lt;/a&gt;</code></p>
  
  <p>However I tried this for grail it did not work, it is taking me to a blank page:</p>
  
  <p>in views/admin/admin.gsp I have a button that I am trying to link to 
     views/admin/gm.gsp</p>
  
  <pre><code>&lt;li&gt;&lt;a href="Users\mzein\file_down\grails-app\views\admin\gm.gsp"&gt;GM&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I also tried the <code>&lt;g:link&gt;</code> tag:</p>
  
  <pre><code>&lt;g:link resource="gm"&gt;
  </code></pre>
  
  <p>but it did not work and took me to error no path page. What is the problem am I specifying the wrong path ? or is that not how it works in grails ?</p>
  
  <p>I know how to use controllers but is that the only to go from one page to another ?</p>
  
  <p>I would like to use URL mapping for such a task</p>
  
  <pre><code>    class UrlMappings {
  
      static mappings = {
          "/$controller/$action?/$id?(.$format)?"{
  
          }
          "/"(view:"/index")
          "500"(view:'/error')
          "/views/admin/gm"(resources:'gm')
      }
  }
  
  &lt;g:link resource="gm"&gt;GM&lt;/g:link&gt;
  </code></pre>