Git-Host / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 1 forks source link

GSON -> jquery getJSON #452

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hello,

we have an urgent problem particularly on getting the response from the vosao 
page like the following:

1. we have a servlet which encode table list from appengine datastore then 
serialize it using GSON.

2. we tried a json validator and it says JSON VALID then display the data just 
like we want.

3. we use jQuery.getJSON to get the result just like json validator did BUT it 
says invalid label.

we use the code below:

jQuery.getJSON('http://domain.com/wjson?jsoncallback=?', function(data) { ..... 
});

thanks

Original issue reported on code.google.com by gianbit...@gmail.com on 31 Mar 2011 at 5:32

GoogleCodeExporter commented 9 years ago
Look at firebug what is the result of http://domain.com/wjson?jsoncallback=? 
call.
Mat be you need add /wjson to skipURL parameter of SiteFilter in web.xml

Original comment by kinyelo@gmail.com on 25 Jun 2011 at 10:05