Hi guys!
could you tell me how to write json response in the
AbstractDefaultAjaxBehavior.response(ajaxtarget) method?
my code :
...
Response response = getResponse();
response.write("{totalProperty:100,root:[{id:0,name:'name0',descn:'descn0'},]}");
...
but the response is like this:
{totalProperty:100,root:[{id:0,name:'name0',descn:'descn0'},]}<?xml
version="1.0" encoding="UTF-8"?>
<ajax-response></ajax-response>
how can I remove the
<?xml version="1.0" encoding="UTF-8"?><ajax-response></ajax-response>
-Kevin Liu
---------------------------------
Never miss a thing. Make Yahoo your homepage.