I have a button on my web app which when clicked generates a text file based on user inputs. For this i use ajax that send parameters to spring backend. This works. What I want is on the same button when clicked generated file to be downloaded on user computer.
Can this be done without storing the file on server and generating link ?