I'm developing a plugin and trying to properly decouple as much as possible. How would I get the application context of the grails-app that is including my plugin? I have a doWithWebDescriptor that is including a servlet which is being included at the main grails-app context:
/MainApp/servlet-url-pattern
I would like to reference this in the plugin's GSP. What is the appropriate way?