create scripts/Event.groovy:
eventConfigureTomcat = {tomcat ->
def ctx = tomcat.host.findChild(serverContextPath)
ctx.allowLinking = true
}
However when grails.app.context = "/", this doesn't work because the TomcatServer.groovy replaces "/" with ""
therefore, must change tomcat.host.findChild(serverContextPath) to tomcat.host.findChild("")
Monday, September 19, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment