1

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?

Adeel Ansari
  • 39,541
  • 12
  • 93
  • 133
J.T.
  • 251
  • 1
  • 2
  • 4

1 Answers1

1

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

Graeme Rocher
  • 7,985
  • 2
  • 26
  • 37