1
Hello!
I have a webview working, I’m trying to create the following html tag:
for(int i = 0; i < nm.size(); i++) {
html.append("<a https://example.com.br/ret/AttachedFile.do?command=showFile&generatedId=").append(id.get(i)).append(">").append(nm.get(i)).append("</a><br />");
}
That would look like this:
<a https://example.com.br/ret/AttachedFile.do?command=showFile&generatedId=64>Download archive</a><br />
However, when I click on the item to download the content, nothing happens... What do I have to do, so that click download the file with the given url? Thank you!
href is missing before the address you want to access html.append("<a href="https://example.com.br/ret/AttachedFile.do?command=showFile&generatedId="). append(id.get(i)). append(">"). append(nm.get(i)). append("</a><br />");
– Alisson