When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1.
I've assigned the Same link in a String in jsp page and tested it through my tomcat application as
<%
String linktotest="file://///172.16.2.1/copyediting/ELS/mallet.pdf";
%>
<a href="<%=linktotest%>">link</a>
when i click on the hyperlink , the pdf is not loaded in firefox and i'm getting the following error in firefox error console
Security Error: Content at http://172.16.3.222:8080/FMS/source/journal/ProductionEntry.jsp may not load or link to file://///172.16.2.1/copyediting/ELS/mallet.pdf
can any one please give me the solution.