Article From:

Background code:

The allRowList here contains only the contents of EXCEL from second rows to second reciprocal rows.

Answer 0:

Importing the file method so as to get the file parameters:

public void sentenceImport(@RequestParam("file") MultipartFile file,...){

Ask the Lord to try.

Answer 1:

There is nothing wrong with the server code, and the front-end code does not see it.
Just the impression here is that there should be a finename = “yourfilename” after the name = “file” if there is a file in the form.
It is recommended that you look at the front-end code to see if there is any problem.

Answer 2:

The front end uploads problems. If normal, there will be content-type and filename.

Leave a Reply

Your email address will not be published. Required fields are marked *