Spring MVC multiple file upload with HTML5 multiple file form feature

后端 未结 2 1377
一个人的身影
一个人的身影 2021-02-13 16:55

I am trying to upload multiple files using spring 3.1.2 with @Controller and @RequestMapping.

Here\'s what I did and my configuration.

Html5 form :

<         


        
2条回答
  •  梦谈多话
    2021-02-13 17:34

    Have included commons-fileupload dependency?

    
      commons-fileupload
      commons-fileupload
      1.3
    
    

    I tested the fileupload works fine even with ArrayList as the parameter type on the controller handler

提交回复
热议问题