20 Sep 2019 Spring Boot upload file/download file - jQuery ,free download. This article shows you var formData = new FormData(form); // Ajax call for file
Load Index Page >> 'Click Download Zip' >> Invoke Ajax post method >> Invoke MVC Controller Method (Which will be using DotNetZip library and Zip the files) >> save file. Let first add the DotNetZip library reference to our project. For that you need to navigate to Tools >> NuGet package Manager >> Package Manager Console The approach I opted for is detailed below. I made a couple of minor changes to the HTML file, adding a JavaScript call to the link and adding an empty