title: Grails application root path
body: <p>Is there a variable where I can find out the root directory of my Grails application?</p>
  
  <p>for example, I have a folder named <code>chart</code> under <code>\%root%\web-app\images\</code> where I put my charts in. Once I deploy my Grails application on Jetty, I will get <code>FileNotFoundException</code> because the root path becomes <code>/srv/www/vhosts/domain-name/jetty-version/</code></p>
  
  <p>I would like to know if there is a variable that returns the root path (like <code>/srv/www/vhosts/domain-name/jetty-version/webapps/myapp</code>), and there should be because CSS uses relative path just fine.</p>