rascio
Dec 29th, 2010, 05:38 AM
Hi,
i've a problem with a list of multipartfile...
my bean has a List<MultipartFile> and in the jsp i populate this list with a spring:bind like this:
<spring:bind path="form.files">
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
</spring:bind>
but while for others properties the list made in this way works, for multipart the list contains only the first file...what can i do to solve this problem?
i've a problem with a list of multipartfile...
my bean has a List<MultipartFile> and in the jsp i populate this list with a spring:bind like this:
<spring:bind path="form.files">
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
<input type="file" name="${status.expression}" /><br/>
</spring:bind>
but while for others properties the list made in this way works, for multipart the list contains only the first file...what can i do to solve this problem?