PDA

View Full Version : How to read data from local file on a page not deployed on web server.



blueRay
14 Jun 2012, 1:22 AM
Hello,

I work with ExtJS on the web page which is NOT deployed on a web server.
I want to load data into storage from *.xml file on my PC.

Ajax/Rest/Json proxy requires from page to be delpoyed on web server.
Is it possible to read data from a local file on a page which is not deployed on web server ?

Thank you.

scottmartin
15 Jun 2012, 7:13 PM
I am not aware of any method that would allow for this.

Scott.

junkfd
16 Jun 2012, 1:55 AM
check this out :
XmlP (The JsonP for XML data) : http://www.sencha.com/forum/showthread.php?215309-XmlP-(The-JsonP-for-XML-data)&p=834269#post834269 (http://www.sencha.com/forum/showthread.php?215309-XmlP-%28The-JsonP-for-XML-data%29&p=834269#post834269)