Yes, you can refer to JSON stored in a static file. However, note that Google 
prevents AJAX calls to file:/// urls, so you'll need to put it where it can be 
served via http. 

--Mike

On Sep 19, 2012, at 7:11 AM, Andrea Maestroni wrote:

> hi to all!
> 
> i am a new user of SIMILE Widgets!
> i have a question...it's possible to use a json loaded from a desktop (or 
> other directory) for the creation of the page with the widget?
> 
> for example i have create a page (a project with netbeans where i have a jsp 
> page e a json file) with this istruction:
> 
> <link href="Person.json" type="application/json" rel="exhibit/data" />
> 
> and it works...
> but if a want to use a json from the desktop?
> 
> i have think to this solution because i want to modify the json file with a 
> java program (for example i insert a data in a database and with this data 
> ,modify the json) and after i can visualize the data in the jsp page with the 
> widget...
> 
> I hope I was clear :)
> 
> thank a lot in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to