User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,480 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,809 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2831 | Replies: 2
Reply
Join Date: Feb 2008
Posts: 41
Reputation: vedmack is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vedmack vedmack is offline Offline
Light Poster

window.open - How to open a local file (xml) with Firefox

  #1  
Apr 2nd, 2008
Hi

my file is located at c:\AdminFiles.xml

i tried the following ways

window.open("c:/AdminFiles.xml",'HeavyXml');

window.open("c:\AdminFiles.xml",'HeavyXml');

window.open("c:\\AdminFiles.xml",'HeavyXml');

in the above i'm getting the following error:
"Firefox doesn't know how to open this address, because the protocol (c) isnt associated with any program"


window.open("file:///c:\\AdminFiles.xml",'HeavyXml');

the last attempt give to respond at all...

any suggestions???


thanks ahead.

Daniel
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2007
Posts: 128
Reputation: hacker9801 is on a distinguished road 
Rep Power: 2
Solved Threads: 13
hacker9801 hacker9801 is offline Offline
Junior Poster

Re: window.open - How to open a local file (xml) with Firefox

  #2  
Apr 2nd, 2008
file:///C:/AdminFiles.xml
Reply With Quote  
Join Date: Feb 2008
Posts: 41
Reputation: vedmack is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vedmack vedmack is offline Offline
Light Poster

Re: window.open - How to open a local file (xml) with Firefox

  #3  
Apr 2nd, 2008
i found out that the problem is something else...
all this mambo jumbo about opening the xml is inside a jsp file....
I did the following test, i did "view source" and copy/paste into an .html file and opened inside Firefox , and it works just fine!!!!!
What could be the problem??? :/

gonna post a thread in JSP forum....

thx 4 the help
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC