I uploaded new app on Jboss 7.
That app, amoung other things, can create file, save it and hopfully download it with html5
tag.
After generated, the file saves on absolute path that I get from
getServletContext().getRealPath("/");
By the server log I can tell that those actions done perfectly. The file is created and saved. The problem is with the download part.
I am trying to download the file with html5 tag.
<a href=path+file name> download>Get Numbers!</a>
I am using exactly the same path that I used to save the file on the server and I keep getting that fail-no file
error from Chrome.
Ideas?