This Java code,
"<a href='file:///" + curBP.get_build_path() + "'>" + curBP.get_build_path() + "</a>"
is outputted to the browser.
On the page, the HTML is:
<a href="file:///\pathosharedfile">Shared File</a>
However, it does not open the file. I've tried countless other combinations of slashes, but to no avail. In FireFox, it acts like a dead link and does not open the file. In IE, it works.
Any idea as to how to make it work in FireFox? Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…