Bug found. I am using PrintWriter out = resp.getWriter() to generate
the JSON data and return to the client code. I found that the JSON
data received by client code consists of extra tag <pre>[{blak, blak,
blak},]</pre>. So, i removed using the following replace function then
the bug is fixed.
json = json.replace("<pre>", "");
json = json.replace("</pre>", "");
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---