Home > Back-end >  Java file upload more
Java file upload more

Time:09-17

To be a function, multiple file upload, each file has a serial number, and files at the same time passed, this how to do?

I try to put MultipartFile class and file number in a dto, found [MultipartFile get less than,

CodePudding user response:

Url spell, hidden fields, these will do

CodePudding user response:

The form (artificial, via a browser) to submit, or client (program) to submit?

CodePudding user response:

Submitted via the browser

CodePudding user response:

To pass directly through MultipartFile [], the background when receiving traversal as a single file is not ok?

CodePudding user response:

Not only do this, because there are a number one to one correspondence with files, serial number is the only, ask a bosses today, can send it the file name again, I match in the background

CodePudding user response:

How do you design the form first, artificial fill in, the input parameters
  • Related