2011-01-28 31 views

回答

6

不能這樣做:

class BootStrap { 
    def init = { servletContext -> 
    println "$servletContext.contextPath" 
    } 
    def destroy = { 
    } 
}