Hello,

what happen if you make the call directly from  your browser (ie a POST 
to your remote resource)? Do you get back the correct string?

Best regards,
Thierry Boileau

> Hi,
>
> Is anyone using JSON with Google App Engine and Restlet? I think everything 
> is set up correctly, I have a post handler like this:
>
>    @Post
>    public String acceptRepresentation(Form form) {
>        JSONObject json = new JSONObject();
>        json.put("farm", "horse");
>
>        return json.toString();
>    }
>
> and in my project's gwt.xml file I have:
>
>    <inherits name="com.google.gwt.json.JSON" />
>    <inherits name="com.google.gwt.http.HTTP" />
>
> but when I run the project I now just get an error page like:
>
>    com/google/gwt/json/client/JSONValue
>
>    You can get technical details here.
>    Please continue your visit at our home page.
>
> anyone else have this working? (Without the json usage, everything is working 
> fine)
>
> Thanks
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2460688
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2461035

Reply via email to