Is there a way to find out the current file (or gsp file) that is being evaluated?
RequestURI does not work due to URLs and referrals.
I am trying to get resources dynamically based on the current GSP file. For example, if the product /view.gsp is running, I want to include product / view.css and product / view.js (if they exist). The part that I'm having a problem with is the text "view"
view grails gsp taglib
Reverend gonzo
source share