J.T.
J.T.

Reputation: 351

Grails 3 (3.1.10) MultipartResolver

My Grails application uses StandardServletMultipartResolver, by default, instead of CommonsMultipartResolver.

How can I configure my app to use the CommonsMultipartResolver? Or otherwise, how can I configure maxFileSize for StandardServletMultipartResolver?

Upvotes: 1

Views: 384

Answers (1)

Graeme Rocher
Graeme Rocher

Reputation: 7985

See the following settings: https://github.com/grails/grails-core/blob/339a8d84594430150d0a5587a93b6565fa0357e5/grails-core/src/main/groovy/grails/config/Settings.groovy#L110

More specifically grails.controllers.upload.maxFileSize

Upvotes: 1

Related Questions