title: Grails: Getting current View name from within a Taglib
body: <p>Is there any way to find out the current view (or gsp file) that is being evaluated?</p>
  
  <p>RequestURI doesn't work due to URL Mappings and forwards.</p>
  
  <p>I'm trying to retrieve resources dynamically based on the current GSP file. For example, if product/view.gsp is being executed, I want to include product/view.css and product/view.js (if they exist). The part that I'm having a problem with is getting the text "view"</p>