Home » excel » java – How to read and upload a xls file using Spring framework?

java – How to read and upload a xls file using Spring framework?

Posted by: admin April 23, 2020 Leave a comment

Questions:

I have an xls file, for example “abc.xls”; how can I read and upload this file using Spring?

How to&Answers:

You can use Spring MVC’s File upload support to get the file from browser to server, and then Apache POI to extract the required data from it.