Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Sat Nov 21, 2009 5:41 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ]  Bookmark and Share
Author Message
 Post subject: Security error while loading pdf file in jsp in firefox?
PostPosted: Mon Feb 09, 2009 3:31 pm 
Offline

Joined: Thu Sep 11, 2008 7:34 am
Posts: 4
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
Code:
<%
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/jou ... nEntry.jsp may not load or link to file://///172.16.2.1/copyediting/ELS/mallet.pdf

can any one please give me the solution.


Top
 Profile  
 
 Post subject: Re: Security error while loading pdf file in jsp in firefox?
PostPosted: Thu Feb 19, 2009 3:26 am 
Offline

Joined: Wed Apr 18, 2007 3:25 am
Posts: 7
Well if you don't know the difference between Java and Javascript, then you probably won't be able to figure out how to fix your issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley