I’m using a servlet to access the MySQL data. I already have the code for sending the file from the servlet to the response.
What I don’t know is how I’m supossed to catch it with javascript, because I’m not making this call by submit. I don’t want to reload the hole page.
I tried making a window.open to the servlet, sending all the params by URL, but it only opens a blank page.
Ok, to download the file, I just query the blob file and then: