| Author |
Spring 3 - Multiple file upload - MultipartFile
|
sachin pachpute
Ranch Hand
Joined: Aug 05, 2004
Posts: 35
|
|
I am trying to upload multiple files using spring 3, it is picking only the fist file. I browsed through a few posts available online but didnt get clear solution.
JSP
Bean
Controller
dispatcher-servlet
I earlier tried below in JSP but it gave me error...
|
 |
sachin pachpute
Ranch Hand
Joined: Aug 05, 2004
Posts: 35
|
|
I referred to below posts as well and they havent done anything different.. Can't seem to find what is the issue. Can someone help please? Am I missing something?
http://www.bitspedia.com/2012/05/how-to-upload-multiple-files-using.html
http://stackoverflow.com/questions/2017807/spring-3-upload-many-files
|
 |
sachin pachpute
Ranch Hand
Joined: Aug 05, 2004
Posts: 35
|
|
I was going through Spring version changelog and noticed below line for version 3.0.4
"* WebDataBinder and @MVC request params detect and introspect MultipartFile arrays as well"
looks like I need to upgrade to latest version as i am using 3.0.1
I should have done this any ways to avoid any version issues.. lesson learnt!!!
|
 |
sachin pachpute
Ranch Hand
Joined: Aug 05, 2004
Posts: 35
|
|
ok.. the issue is resolved with the version update to 3.1.1
|
 |
 |
|
|
subject: Spring 3 - Multiple file upload - MultipartFile
|
|
|