I have created a webapp using JSP,Html and Javascript which currently runs on my localhost using apache webserver. I want to display the files and folders and of a directory in local computer. I also want to create a download link or view link of those so that when anyone click on it it will be viewed in new tab or become downloadable as it happens in any ftp server. I know similar type of question has
been asked but none of them worked for me.
To create the download link I used

```
<a href="D:/mylocaldrive/a.png" download="a.png">Download</a>

```

this does not work as it is not in my webapp path and download attribute also does not work in internet explorer.