I need to know the physical path of the GSP grails file.
My requirement is that I want to create a new layout file at runtime and use it in the application.
I was able to achieve this without problems when the application runs on the dock (grails run-app), however, when I deploy the application to Jboss, the path to the file must be changed.
So, ideally, I would like to find out at runtime, using some magic utility, the path to a specific GSP (say, the main.gsp layout file), and I need to create a new layout in the same directory that main.gsp lives in.
Any pointers?
-Deepak
source share