My problem is simple - the ${appName} property substitution in Config.groovy does not appear to be working for me.
I have a config item called path.to.resources = ${appName}/videos
, but when I read that from my controller using grailsApplication.config.path.to.resources
, I get ${appName}/videos
instead of myAppName/videos
.
I'm using Grails 2.0.4 and STS
尝试这个
path.to.resources = "${appName}/videos"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.