0
訪問文件系統文件夾我上傳一些文件到uploadFolder
C:/上傳配置路徑如何Grails的
environments {
development {
uploadFolder = "C:/upload/"
}
production {
uploadFolder = "C:/upload/"
}
test {
uploadFolder = "C:/Users/"
}
}
,我把它存儲在控制器
documentInstance.fullPath = grailsApplication.config.uploadFolder + documentInstance.filename
如何訪問Grails中C:/ upload/file中的文檔?
所有的文件,問題是....? – injecteer 2015-04-02 21:52:58
如何訪問Grails中C:/ upload/file中的文檔? @injecteer – Mozein 2015-04-03 01:10:26