title: Grails controller variables not visible in the views
body: <p>I am quite new to grails. I just noticed that variables in the controller are not visible in the view. I only can get the variable values when I assign it to a scope. Is this the standard Grails way or am I doing this wrong. Also, is the params scope the correct one to use or should I use sessions, servletContext?</p>
  
  <p>In the Controller</p>
  
  <pre><code>String uploadLocation = grailsApplication.config.uploads.location.toString()
  params.put "upLoc", uploadLocation
  </code></pre>
  
  <p>In the View</p>
  
  <pre><code>&lt;td&gt; &lt;input type="text" value="${params.get('uploc')}/${fileResourceInstance.decodeURL()}"&gt;&lt;/input&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I'm very familiar with Ruby on Rails and this is handled very differently in RoR. Thanks.</p>