Get applicationContext in Bootstrap

import org.codehaus.groovy.grails.commons.ApplicationAttributes

def ctx = servletContext.getAttribute(ApplicationAttributes.APPLICATION_CONTEXT)

 

http://www.nabble.com/Bootstrap-and-applicationContext-td16302106.html#a16302106

你可能感兴趣的:(html,grails,groovy)