标签: grails file-upload config multipart
默认情况下,我的Grails应用程序使用StandardServletMultipartResolver而不是CommonsMultipartResolver。
StandardServletMultipartResolver
CommonsMultipartResolver
如何配置我的应用以使用CommonsMultipartResolver?或者,我如何为maxFileSize配置StandardServletMultipartResolver?
maxFileSize
答案 0 :(得分:1)
请参阅以下设置:https://github.com/grails/grails-core/blob/339a8d84594430150d0a5587a93b6565fa0357e5/grails-core/src/main/groovy/grails/config/Settings.groovy#L110
更具体地说是grails.controllers.upload.maxFileSize
grails.controllers.upload.maxFileSize