Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从数据库为 Grails 设置配置值,有没有不使用任何插件的方法?
这样做BootStrap.groovy:
BootStrap.groovy
grailsApplication.config.context.path = "/temp"
此示例覆盖context.path配置值
context.path