spring boot - How to upload a file in Grails 3 -
grails 2 had plugin that, there used
request.getfile method. there no method in grails 3 far can see, or plugin. tried using
request.getinputstream but 1 empty. other thing tried using spring-boot way of handling uploads, 1 relies on
@requestparam("file") multipartfile file it cannot used in grails, controllers there not allow parameters defined way afaik. how upload files in grails 3?
actually there
request.getfile(filename) in grails 3 well. not displayed in autofill in ide reason (the rest of request methods getparameters or ispost displayed correctly).
Comments
Post a Comment